예제 #1
0
 public override void Remove(AbstractBike ab)
 {
     throw new NotSupportedException("Can't remove a child from a production bike");
 }
예제 #2
0
 public override void Remove(AbstractBike ab)
 {
     _children.Remove(ab);
 }
예제 #3
0
 public override void Add(AbstractBike ab)
 {
     throw new NotSupportedException("Can't add a child to a production bike");
 }
예제 #4
0
 public override void Add(AbstractBike ab)
 {
     _children.Add(ab);
 }