Example #1
0
 /// <summary>
 /// Constructs a new instance of XmlNode
 /// </summary>
 /// <param name="name">The name of the node</param>
 public XmlNode(string name)
 {
     this.name       = name;
     this.attributes = new AttributeDictionary();
     this.childNodes = new NodeList();
 }
Example #2
0
 /// <summary>
 /// Constructs a new instance of TNode
 /// </summary>
 /// <param name="name">The name of the node</param>
 public TNode(string name)
 {
     Name       = name;
     Attributes = new AttributeDictionary();
     ChildNodes = new NodeList();
 }