Exemple #1
0
 public ComplexTreeNode(T Parent, ComplexTreeNodeList <T> Children)
 {
     this.Parent     = Parent;
     this.Children   = Children;
     Children.Parent = (T)this;
 }
Exemple #2
0
 public ComplexTreeNode(ComplexTreeNodeList <T> Children)
 {
     Parent          = null;
     this.Children   = Children;
     Children.Parent = (T)this;
 }
Exemple #3
0
 public ComplexTreeNode()
 {
     Parent   = null;
     Children = new ComplexTreeNodeList <T>(this);
 }
Exemple #4
0
 public ComplexTreeNode(T Parent)
 {
     this.Parent = Parent;
     Children    = new ComplexTreeNodeList <T>(this);
 }
 /// <summary>
 /// Add this node to a tree.  This node's parent will be <paramref name="Parent"/>
 /// </summary>
 /// <param name="Parent">Parent this node will have</param>
 /// <param name="Children">List of children to add to this node</param>
 public ComplexTreeNode(T Parent, ComplexTreeNodeList <T> Children) : this(Children)
 {
     this.Parent = Parent;
 }