Ejemplo n.º 1
0
 public XmlNodeEntity(string nodeName, string value)
 {
     name          = nodeName;
     this.value    = value;
     childrenNodes = new List <XmlNodeEntity>();
     attributes    = new Dictionary <string, string>();
     parentNode    = null;
 }
Ejemplo n.º 2
0
 public void AddChildNode(XmlNodeEntity newNode)
 {
     newNode.parentNode = this;
     childrenNodes.Add(newNode);
 }