public override void Prepare()
 {
     Console.WriteLine($"Preparing {Name}");
     this.cheese = _ingredientFactory.CreateCheese();
     this.clams  = _ingredientFactory.CreateClams();
     this.sauce  = _ingredientFactory.CreateSauce();
 }
Exemplo n.º 2
0
 public override void Prepare()
 {
     Console.WriteLine($"Preparing {Name}");
     Dough  = _ingredientFactory.CreateDough();
     Cheese = _ingredientFactory.CreateCheese();
     Clam   = _ingredientFactory.CreateClams();
 }
Exemplo n.º 3
0
 public override void Prepare()
 {
     Console.WriteLine("Preparing " + Name);
     Dough  = _pizzaIngredientFactory.CreateDough();
     Sauce  = _pizzaIngredientFactory.CreateSauce();
     Cheese = _pizzaIngredientFactory.CreateCheese();
     Clam   = _pizzaIngredientFactory.CreateClams();
 }
 public override void Prepare()
 {
     Console.WriteLine("Preparing " + name);
     _dough  = _ingredientFactory.CreateDough();
     _sauce  = _ingredientFactory.CreateSauce();
     _cheese = _ingredientFactory.CreateCheese();
     _clams  = _ingredientFactory.CreateClams();
 }
Exemplo n.º 5
0
 public override void Prepare()
 {
     Console.WriteLine("Preparing " + Name);
     dough  = ingredientFactory.CreateDough();
     sauce  = ingredientFactory.CreateSauce();
     cheese = ingredientFactory.CreateCheese();
     clams  = ingredientFactory.CreateClams();
 }
Exemplo n.º 6
0
 public override void Prepare()
 {
     System.Console.WriteLine($"Preparing {name}");
     dough  = factory.CreateDough();
     sauce  = factory.CreateSauce();
     cheese = factory.CreateCheese();
     clams  = factory.CreateClams();
 }
Exemplo n.º 7
0
 public override void Prepare()
 {
     Console.WriteLine($"Preparing {this.Name}");
     this.Dough  = _ingredientFactory.CreateDough();
     this.Sauce  = _ingredientFactory.CreateSauce();
     this.Cheese = _ingredientFactory.CreateCheese();
     this.Clams  = _ingredientFactory.CreateClams();
 }
 public override void Prepare()
 {
     Dough     = _ingredientFactory.CreateDough();
     Sauce     = _ingredientFactory.CreateSaurce();
     Cheese    = _ingredientFactory.CreateCheese();
     Veggieses = _ingredientFactory.CreateVeggies();
     Clam      = _ingredientFactory.CreateClams();
     Pepperoni = _ingredientFactory.CreatePepperoni();
 }
Exemplo n.º 9
0
 public override void Prepare()
 {
     Console.WriteLine($"Preparing: {Name}");
     Dough = _pizzaIngredientFactory.CreateDough();
     Sauce = _pizzaIngredientFactory.CreateSauce();
     Clams = _pizzaIngredientFactory.CreateClams();
     Console.WriteLine($"    {Dough.Name}");
     Console.WriteLine($"    {Sauce.Name}");
     Console.WriteLine($"    {Clams.Name}");
 }
Exemplo n.º 10
0
 public void Prepare()
 {
     Console.WriteLine($"Preparing: {Name}");
     Dough  = _pizzaIngredientFactory.CreateDough();
     Sauce  = _pizzaIngredientFactory.CreateSauce();
     Clams  = _pizzaIngredientFactory.CreateClams();
     Cheese = _pizzaIngredientFactory.CreateCheese();
     Console.WriteLine($"    {Dough?.Name}");
     Console.WriteLine($"    {Sauce?.Name}");
     Console.WriteLine($"    {Clams?.Name}");
     Console.WriteLine($"    {Cheese?.Name}");
 }