示例#1
0
 public PizzaDecorator(string n, Pizza pizza) : base(n)
 {
     this.pizza = pizza;
 }
示例#2
0
 public TomatoPizza(Pizza p)
     : base(p.Name + ", с томатами", p)
 {
 }
示例#3
0
 public CheesePizza(Pizza p)
     : base(p.Name + ", с сыром", p)
 {
 }