Пример #1
0
 public void setParent(GenericTree parent)
 {
     if (parent.children == null)
     {
         parent.children = new Dictionary <string, GenericTree>();
     }
     parent.children.Add(name, this);
     this.parent = parent;
 }
Пример #2
0
 public void setOutput(GenericTree output)
 {
     this.output = output;
 }