Пример #1
0
 public Bacon(Burger burger) : base(burger.GetDescription() + " +Bacon", burger)
 {
 }
Пример #2
0
 public Ketchup(Burger burger) : base(burger.GetDescription() + " +Ketchup", burger)
 {
 }
Пример #3
0
 public AddOn(string description, Burger burger) : base(description)
 {
     _burger = burger;
 }