예제 #1
0
 public override void Remove(ComponentAbstraction c)
 {
     _children.Remove(c);
 }
예제 #2
0
 public override void Add(ComponentAbstraction c)
 {
     _children.Add(c);
 }
예제 #3
0
 public override void Remove(ComponentAbstraction c)
 {
     Console.WriteLine("Cannot remove from a leaf");
 }
예제 #4
0
 public override void Add(ComponentAbstraction c)
 {
     Console.WriteLine("Cannot add to a leaf");
 }
예제 #5
0
 public virtual void Remove(ComponentAbstraction c)
 {
 }
예제 #6
0
 public virtual void Add(ComponentAbstraction c)
 {
 }