Exemple #1
0
 public override void Remove(Component c)
 {
     Console.WriteLine("Can not remove from leaf");
 }
Exemple #2
0
 public override void Add(Component c)
 {
     Console.WriteLine("Can not add to leaf");
 }
Exemple #3
0
 public override void Remove(Component c)
 {
     _childrend.Remove(c);
 }
Exemple #4
0
 public override void Add(Component c)
 {
     _childrend.Add(c);
 }
Exemple #5
0
 public abstract void Remove(Component c);
Exemple #6
0
 public abstract void Add(Component c);