FatAntelope.XNode.XNode C# (CSharp) Method

XNode() public method

Constructor.
public XNode ( XmlNode node, XNode parent ) : System.Collections.Generic
node System.Xml.XmlNode The respective System.Xml.XmlNode instance that this XNode maps to from the original XmlDocument.
parent XNode The parent XNode of this node in the XML Hierarchy
return System.Collections.Generic
        public XNode(XmlNode node, XNode parent)
        {
            this.XmlNode = node;
            this.Parent = parent;
            this.Attributes = Empty;
            this.Children = Empty;
            this.Elements = Empty;
            this.Texts = Empty;
        }