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