public virtual void RemoveChild(NodeChildBase node) { if (Children.Remove(node)) { node.Parent = null; } }
public virtual void AddChild(NodeChildBase node) { if (node == null) { return; } node.Parent = this; Children.Add(node); }
public virtual void RemoveChild(NodeChildBase node) { if (Children.Remove(node)) { node.Parent = null; } }
public virtual void AddChild(NodeChildBase node) { if (node == null) { return; } node.Parent = this; Children.Add(node); }