public void Prepare() { Cheese = _ingredientFactory.CreateCheese(); Dough = _ingredientFactory.CreateDough(); Sauce = _ingredientFactory.CreateSauce(); Veggies = _ingredientFactory.CreateVeggies(); }
public override void Prepare() { Console.WriteLine($"Preparing {this.Name}"); this.Dough = _ingredientFactory.CreateDough(); this.Sauce = _ingredientFactory.CreateSauce(); this.Veggies = _ingredientFactory.CreateVeggies(); }
public override void Prepare() { Console.WriteLine($"Preparing {Name}"); Dough = pizzaIngredientFactory.CreateDough(); Sauce = pizzaIngredientFactory.CreateSauce(); Cheese = pizzaIngredientFactory.CreateCheese(); Veggies = pizzaIngredientFactory.CreateVeggies(); }
public override void Prepare() { Console.WriteLine("Preparing " + Name); dough = _ingredientFactory.CreateDough(); sauce = _ingredientFactory.CreateSauce(); cheese = _ingredientFactory.CreateCheese(); veggies = _ingredientFactory.CreateVeggies(); }
public override void Prepare() { WriteLine($"Prepararando: {Name}"); Dough = _ingredientFactory.CreateDough(); Cheese = _ingredientFactory.CreateCheese(); Sauce = _ingredientFactory.CreateSauce(); Veggies = _ingredientFactory.CreateVeggies(); }
public override void Prepare() { Console.WriteLine("Preparing " + Name); Dough = ingredientFactory.CreateDough(); Sauce = ingredientFactory.CreateSauce(); Cheese = ingredientFactory.CreateCheese(); Veggies = ingredientFactory.CreateVeggies(); }
public override void Prepare() { Console.WriteLine($"Preparing {Name}"); Dough = _ingredientFactory.CreateDough(); Cheese = _ingredientFactory.CreateCheese(); Pepperoni = _ingredientFactory.CreatePepperoni(); Veggies = _ingredientFactory.CreateVeggies(); }
public override void Prepare() { Dough = _ingredientFactory.CreateDough(); Sauce = _ingredientFactory.CreateSaurce(); Cheese = _ingredientFactory.CreateCheese(); Veggieses = _ingredientFactory.CreateVeggies(); Clam = _ingredientFactory.CreateClams(); Pepperoni = _ingredientFactory.CreatePepperoni(); }
public override void Prepare() { Console.WriteLine("Preparing " + name); dough = ingredientFactory.CreateDough(); sauce = ingredientFactory.CreateSauce(); cheese = ingredientFactory.CreateCheese(); veggies = ingredientFactory.CreateVeggies(); pepperoni = ingredientFactory.CreatePepperoni(); }
public virtual void Prepare() { Console.WriteLine("Preparing: " + _name); _dough = _ingredientFactory.CreateDough(); _sauce = _ingredientFactory.CreateSauce(); _cheese = _ingredientFactory.CreateCheese(); _clams = _ingredientFactory.CreateClam(); _pepperoni = _ingredientFactory.CreatePepperoni(); _veggies = _ingredientFactory.CreateVeggies(); }
public override void Prepare() { Dough = _ingredientFactory.CreateDough(); Sauce = _ingredientFactory.CreateSauce(); Cheese = _ingredientFactory.CreateCheese(); Veggies = _ingredientFactory.CreateVeggies(); Console.WriteLine($"Preparing {Name} Pizza Using..."); Console.WriteLine($"Dough: {Dough}, Cheese: {Cheese}, Sauce: {Sauce}, Veggies : {string.Join(",", Veggies.Select(f => f.ToString()))}"); }
public override void Prepare() { Console.WriteLine($"Preparing {Name}..."); Dough = _ingredientFactory.CreateDough(); Console.WriteLine($"Creating {Dough}..."); Cheese = _ingredientFactory.CreateCheese(); Console.WriteLine($"Adding {Cheese}..."); Sauce = _ingredientFactory.CreateSauce(); Console.WriteLine($"Adding {Sauce}..."); Veggies = _ingredientFactory.CreateVeggies(); Console.WriteLine($"Adding Veggies... {string.Join(",",Veggies.Select(f => f.ToString()))}"); }
public override void Prepare() { Console.WriteLine($"Preparing {_name}"); _dough = _ingredientFactory.CreateDough(); _source = _ingredientFactory.CreateSaurce(); _veggies = _ingredientFactory.CreateVeggies(); Console.WriteLine($"Tossing {_dough} dough"); Console.WriteLine($"Adding {_source} source"); if (_veggies.Length > 0) { Console.WriteLine("Adding veggies:"); foreach (var veg in _veggies) { Console.WriteLine($"\t :{veg}"); } } }