public BetterTreeNode <T> Add(string text) { var childTreeNode = this.collection_.Add(text); var childBetterTreeNode = new BetterTreeNode <T>(childTreeNode, childTreeNode.Nodes); childBetterTreeNode.Parent = this; this.absoluteChildren_.Add(childBetterTreeNode); return(childBetterTreeNode); }
public void Add(BetterTreeNode <T> node) => this.collection_.Add(node.impl_);