public override void Remove(ComponentAbstraction c) { _children.Remove(c); }
public override void Add(ComponentAbstraction c) { _children.Add(c); }
public override void Remove(ComponentAbstraction c) { Console.WriteLine("Cannot remove from a leaf"); }
public override void Add(ComponentAbstraction c) { Console.WriteLine("Cannot add to a leaf"); }
public virtual void Remove(ComponentAbstraction c) { }
public virtual void Add(ComponentAbstraction c) { }