コード例 #1
0
ファイル: XmlNode.cs プロジェクト: 33monkeys/nunit-constraint
 /// <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();
 }
コード例 #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();
 }