public void Remove(BaseComposite element) { if (!children.Contains(element)) { throw new ArgumentException(); } children.Remove(element); }
public void Add(BaseComposite element) { children.Add(element); }