<PackageReference Include="Castle.Core" Version="4.3.0" />

Castle.Components.DictionaryAdapter.Xml.XmlReferenceManager

public class XmlReferenceManager
namespace Castle.Components.DictionaryAdapter.Xml { public class XPathNode : XmlNodeBase, IXmlNode, IXmlKnownType, IXmlIdentity, IRealizableSource, IVirtual, IRealizable<XPathNavigator>, IRealizable<XmlNode> { protected XPathNavigator node; protected readonly CompiledXPath xpath; public object UnderlyingObject { get; } public virtual XmlName Name { get; } public virtual XmlName XsiType { get; } public virtual bool IsElement { get; } public virtual bool IsAttribute { get; } public virtual bool IsNil { get; set; } public virtual string Value { get; set; } public virtual string Xml { get; } protected XPathNode(CompiledXPath path, IXmlNamespaceSource namespaces, IXmlNode parent); public XPathNode(XPathNavigator node, Type type, IXmlNamespaceSource namespaces); public string GetAttribute(XmlName name); public void SetAttribute(XmlName name, string value); public string LookupPrefix(string namespaceUri); public string LookupNamespaceUri(string prefix); public void DefineNamespace(string prefix, string namespaceUri, bool root); public bool UnderlyingPositionEquals(IXmlNode node); public virtual IXmlNode Save(); public IXmlCursor SelectSelf(Type clrType); public IXmlCursor SelectChildren(IXmlKnownTypeMap knownTypes, IXmlNamespaceSource namespaces, CursorFlags flags); public IXmlIterator SelectSubtree(); public IXmlCursor Select(CompiledXPath path, IXmlIncludedTypeMap includedTypes, IXmlNamespaceSource namespaces, CursorFlags flags); public virtual object Evaluate(CompiledXPath path); public virtual XmlReader ReadSubtree(); public virtual XmlWriter WriteAttributes(); public virtual XmlWriter WriteChildren(); public virtual void Clear(); } } namespace Castle.Components.DictionaryAdapter.Xml { public class XmlReferenceManager { public XmlReferenceManager(IXmlNode root, IXmlReferenceFormat format); public bool TryGet(object keyObject, out object inGraphObject); public void Add(IXmlNode node, object keyValue, object newValue, bool isInGraph); public bool OnGetStarting(ref IXmlNode node, ref object value, out object token); public void OnGetCompleted(IXmlNode node, object value, object token); public bool OnAssigningNull(IXmlNode node, object oldValue); public bool OnAssigningValue(IXmlNode node, object oldValue, ref object newValue, out object token); public void OnAssignedValue(IXmlNode node, object givenValue, object storedValue, object token); public void UnionWith(XmlReferenceManager other); } }