public void AddChild(IXmlNode child) { if (child.Parent != this) { child.SetParent(this); } if (!Children.Contains(child)) { Children.Add(child); } }
public void AddChild(IXmlNode child) { if(child.Parent != this) child.SetParent(this); if(!Children.Contains(child)) Children.Add(child); }