public void SetId(TId node) { if (_id_ != null) { _id_.Parent(null); } if (node != null) { if (node.Parent() != null) { node.Parent().RemoveChild(node); } node.Parent(this); } _id_ = node; }
public void SetVarname(TId node) { if (_varname_ != null) { _varname_.Parent(null); } if (node != null) { if (node.Parent() != null) { node.Parent().RemoveChild(node); } node.Parent(this); } _varname_ = node; }