public void RemoveChild(IChild child) { children.Remove(child); child.SetParent(null); }
public void AddChild(IChild child) { children.Add(child); child.SetParent(this); }