protected TreeNode(object tag) { this.children = new List <T>(); this.id = TreeNodes.NextIdCounter(); this.tag = tag; }
protected ListItem(object tag) { this.id = TreeNodes.NextIdCounter(); this.tag = tag; }