public void SetConditionsToken(TConditions node) { if (_conditions_token_ != null) { _conditions_token_.Parent(null); } if (node != null) { if (node.Parent() != null) { node.Parent().RemoveChild(node); } node.Parent(this); } _conditions_token_ = node; }