예제 #1
0
 /// <summary> Adds an Instance to this Instance's children </summary>
 /// <param name="child"> The child to be added </param>
 protected void AddChild(Instance child)
 {
     Children.AddFirst(child.ContainerNode);
 }
예제 #2
0
파일: Node.cs 프로젝트: jakesays-old/Planit
 public void addChild(T data)
 {
     Children.AddFirst(new Node <T>(data, this));
 }
예제 #3
0
 public void AddChild(TokenNode node)
 {
     Children.AddFirst(node);
 }