public override void Prepare()
 {
     Dough     = _ingredientFactory.CreateDough();
     Cheese    = _ingredientFactory.CreateCheese();
     Sauce     = _ingredientFactory.CreateSauce();
     Pepperoni = _ingredientFactory.CreatePepperoni();
 }
 public override void Prepare()
 {
     Dough    = _ingredientFactory.CreateDough();
     Cheese   = _ingredientFactory.CreateCheese();
     Sauce    = _ingredientFactory.CreateSauce();
     Mushroom = _ingredientFactory.CreateMushrooms();
 }
Esempio n. 3
0
 public override void Prepare()
 {
     Dough  = _ingredientFactory.CreateDough();
     Cheese = _ingredientFactory.CreateCheese();
     Sauce  = _ingredientFactory.CreateSauce();
     Veggie = _ingredientFactory.CreateVeggie();
 }
Esempio n. 4
0
 public void Prepare(string from)
 {
     Console.WriteLine("Preparing {0} {1} pizza", from, name);
     dough  = idf.CreateDough();
     sause  = idf.CreateSause();
     cheese = idf.CreateCheese();
     ingr   = idf.CreateIngredients(name);
 }
Esempio n. 5
0
        internal override string Prepare()
        {
            StringBuilder sb = new StringBuilder();

            sb.AppendLine($"Preparing {Name}");

            Dough  = IngredientFactory.CreateDough();
            Sauce  = IngredientFactory.CreateSauce();
            Cheese = IngredientFactory.CreateCheese();
            Clam   = IngredientFactory.CreateClams();

            return(sb.ToString());
        }