Exemplo n.º 1
0
 public override void Prepare()
 {
     Name   = "ChicagoStyle Pepperoni Pizza";
     Dough  = ingredientFactory.CreateDough();
     Sauce  = ingredientFactory.CreateSauce();
     Cheese = ingredientFactory.CreateCheese();
 }
Exemplo n.º 2
0
 public override void Preparation()
 {
     System.Console.WriteLine($"Przygotowanie: {GetName()}");
     this.cake   = _pizzaIngredientsFactory.CreateCake();
     this.sauce  = _pizzaIngredientsFactory.CreateSauce();
     this.cheese = _pizzaIngredientsFactory.CreateCheese();
 }
Exemplo n.º 3
0
 public override void Prepare()
 {
     Name   = "NYStyle Veggie Pizza";
     Dough  = ingredientFactory.CreateDough();
     Sauce  = ingredientFactory.CreateSauce();
     Cheese = ingredientFactory.CreateCheese();
 }