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(); }
public override void Prepare() { Dough = _ingredientFactory.CreateDough(); Cheese = _ingredientFactory.CreateCheese(); Sauce = _ingredientFactory.CreateSauce(); Veggie = _ingredientFactory.CreateVeggie(); }
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); }
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()); }