Example #1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="value"></param>
 /// <param name="parent"></param>
 public TreeNode(T value, TreeNode <T> parent)
 {
     children    = new TreeNodeList <T>(this);
     this.Value  = value;
     this.Parent = parent;
 }
Example #2
0
 /// <summary>
 ///
 /// </summary>
 public TreeNode()
 {
     children = new TreeNodeList <T>(this);
 }
Example #3
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="value"></param>
 public TreeNode(T value)
 {
     children = new TreeNodeList <T>(this);
     Value    = value;
 }