Пример #1
0
 public override void Remove(ResidentalComponent component)
 {
     _children.Remove(component);
 }
Пример #2
0
 public override void Add(ResidentalComponent component)
 {
     _children.Add(component);
 }
Пример #3
0
 public abstract void Add(ResidentalComponent c);
Пример #4
0
 public abstract void Remove(ResidentalComponent c);
Пример #5
0
 public override void Remove(ResidentalComponent c)
 {
     Console.WriteLine("Impossible operation");
 }