Пример #1
0
 public override void Prepare()
 {
     Console.WriteLine("Preparing {0}", name);
     dough     = pizzaIngredientFactory.CreateDough();
     sauce     = pizzaIngredientFactory.CreateSauce();
     pepperoni = pizzaIngredientFactory.CreatePepperoni();
 }
 public override void Prepare()
 {
     this.cheese    = _ingredientFactory.CreateCheese();
     this.dough     = _ingredientFactory.CreateDough();
     this.sauce     = _ingredientFactory.CreateSauce();
     this.pepperoni = _ingredientFactory.CreatePepperoni();
 }
Пример #3
0
 public override void Prepare()
 {
     Console.WriteLine($"Preparing {Name}");
     Dough     = myPizzaIngredientFactory.CreateDough();
     Sauce     = myPizzaIngredientFactory.CreateSauce();
     Pepperoni = myPizzaIngredientFactory.CreatePepperoni();
 }
Пример #4
0
 public override void Prepare()
 {
     Console.WriteLine("Preparing " + Name);
     Dough     = _pizzaIngredientFactory.CreateDough();
     Sauce     = _pizzaIngredientFactory.CreateSauce();
     Cheese    = _pizzaIngredientFactory.CreateCheese();
     Pepperoni = _pizzaIngredientFactory.CreatePepperoni();
 }
Пример #5
0
 public override void Prepare()
 {
     Console.WriteLine(String.Format("Preparing {0}", Name));
     Dough     = moIngredientFactory.CreateDough();
     Sauce     = moIngredientFactory.CreateSauce();
     Cheese    = moIngredientFactory.CreateCheese();
     Pepperoni = moIngredientFactory.CreatePepperoni();
 }
Пример #6
0
 public override void Prepare()
 {
     Console.WriteLine($"Preparing {Name}");
     Dough     = _ingredientFactory.CreateDough();
     Cheese    = _ingredientFactory.CreateCheese();
     Pepperoni = _ingredientFactory.CreatePepperoni();
     Veggies   = _ingredientFactory.CreateVeggies();
 }
 public override void Prepare()
 {
     Console.WriteLine("Preparing {0}");
     dough     = ingredientFactory.CreateDough();
     sauce     = ingredientFactory.CreateSauce();
     cheese    = ingredientFactory.CreateCheese();
     pepperoni = ingredientFactory.CreatePepperoni();
 }
Пример #8
0
 public override void Prepare()
 {
     Console.WriteLine("Preparing {0}", Name);
     Dough     = ingredientFactory.CreateDough();
     Sauce     = ingredientFactory.CreateSauce();
     Cheese    = ingredientFactory.CreateCheese();
     Veggies   = ingredientFactory.CreateVeggies();
     Pepperoni = ingredientFactory.CreatePepperoni();
 }
 public override void Prepare()
 {
     Dough     = _ingredientFactory.CreateDough();
     Sauce     = _ingredientFactory.CreateSaurce();
     Cheese    = _ingredientFactory.CreateCheese();
     Veggieses = _ingredientFactory.CreateVeggies();
     Clam      = _ingredientFactory.CreateClams();
     Pepperoni = _ingredientFactory.CreatePepperoni();
 }
Пример #10
0
 public override void Prepare()
 {
     Console.WriteLine("Preparing " + this.Name);
     dough     = _ingredientFactory.CreateDough();
     sauce     = _ingredientFactory.CreateSauce();
     cheese    = _ingredientFactory.CreateCheese();
     veggies   = _ingredientFactory.CreateVeggies();
     pepperoni = _ingredientFactory.CreatePepperoni();
 }
Пример #11
0
 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()
        {
            Console.WriteLine($"Preparing {_name}");
            _dough     = _ingredientFactory.CreateDough();
            _source    = _ingredientFactory.CreateSaurce();
            _pepperoni = _ingredientFactory.CreatePepperoni();

            Console.WriteLine($"Tossing {_dough} dough");
            Console.WriteLine($"Adding {_source} source");
            Console.WriteLine($"Adding {_pepperoni} pepperoni");
        }
 public override void Prepare()
 {
     Dough     = pizzaIngredientFactory.CreateDough();
     Sauce     = pizzaIngredientFactory.CreateSouce();
     Pepperoni = pizzaIngredientFactory.CreatePepperoni();
 }