Пример #1
0
 public XmlNodeEntity(string nodeName, string value)
 {
     name          = nodeName;
     this.value    = value;
     childrenNodes = new List <XmlNodeEntity>();
     attributes    = new Dictionary <string, string>();
     parentNode    = null;
 }
Пример #2
0
 public void AddChildNode(XmlNodeEntity newNode)
 {
     newNode.parentNode = this;
     childrenNodes.Add(newNode);
 }