/// <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; }
/// <summary> /// /// </summary> public TreeNode() { children = new TreeNodeList <T>(this); }
/// <summary> /// Constructor /// </summary> /// <param name="value"></param> public TreeNode(T value) { children = new TreeNodeList <T>(this); Value = value; }