public ComplexTreeNode(T Parent, ComplexTreeNodeList <T> Children) { this.Parent = Parent; this.Children = Children; Children.Parent = (T)this; }
public ComplexTreeNode(ComplexTreeNodeList <T> Children) { Parent = null; this.Children = Children; Children.Parent = (T)this; }
public ComplexTreeNode() { Parent = null; Children = new ComplexTreeNodeList <T>(this); }
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; }