예제 #1
0
 public override void Add(Developer d)
 {
     Console.WriteLine("Cannot add to a leaf");
 }
예제 #2
0
 public override void Remove(Developer developer)
 {
     children.Remove(developer);
 }
예제 #3
0
 public override void Add(Developer developer)
 {
     children.Add(developer);
 }
예제 #4
0
 public abstract void Remove(Developer d);
예제 #5
0
 public abstract void Add(Developer d);
예제 #6
0
 public override void Remove(Developer d)
 {
     Console.WriteLine("Cannot remove from a leaf");
 }