public override void Prepare() { Console.WriteLine("Preparing " + Name); dough = ingredientFactory.createDough(); sauce = ingredientFactory.createSauce(); cheese = ingredientFactory.createCheese(); }
public override void prepare() { Console.WriteLine("Preparing" + name); dough = ingredientFactory.createDough(); sauce = ingredientFactory.createSauce(); clam = ingredientFactory.createClam(); }
public override void prepare() { Console.WriteLine("Preparing " + this.name); this.dough = ingredientFactory.createDough(); this.sauce = ingredientFactory.createSauce(); this.cheese = ingredientFactory.createCheese(); }
public override void Prepare() { Console.WriteLine("准备:" + name); dough = _pizzaIngredientFactory.createDough(); sauce = _pizzaIngredientFactory.createSauce(); cheese = _pizzaIngredientFactory.createCheese(); }
public override void Prepare() { dough = ingredientFactory.createDough(); sauce = ingredientFactory.createSauce(); cheese = ingredientFactory.createCheese(); clams = ingredientFactory.createClams(); }
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(); Sauce = ingredientFactory.createSauce(); Cheese = ingredientFactory.createCheese(); Veggies = ingredientFactory.createVeggies(); }
public override void Prepare() { Console.WriteLine("准备:" + name); dough = _pizzaIngredientFactory.createDough(); sauce = _pizzaIngredientFactory.createSauce(); cheese = _pizzaIngredientFactory.createCheese(); clam = _pizzaIngredientFactory.createClam();//纽约工厂就会使用新鲜的蛤蜊,芝加哥工厂就会用冷冻的蛤蜊。 }
public override void prepare() { Console.WriteLine("准备:" + name); dough = ingredientFactory.createDough(); sauce = ingredientFactory.createSauce(); cheese = ingredientFactory.createCheese(); veggies = ingredientFactory.createVeggies(); }
public void prepare() { Console.WriteLine("Preparing " + Name); dough = ingredientFactory.createDough(); sauce = ingredientFactory.createSauce(); cheese = ingredientFactory.createCheese(); clam = ingredientFactory.createClams(); }
public override void prepare() { Console.WriteLine("Preparing " + name); this.dough = ingredientFactory.createDough(); this.sauce = ingredientFactory.createSauce(); this.cheese = ingredientFactory.createCheese(); this.veggies = ingredientFactory.createVeggies(); this.pepperoni = ingredientFactory.createPepperoni(); }
public override void prepare() { Form1 f1 = (Form1)Application.OpenForms["Form1"]; dough = ingredientfactory.createDough(); sauce = ingredientfactory.createSauce(); pepperoni = ingredientfactory.createPepperoni(); f1.GB_Status_AppendText_Nextline(dough, Color.Blue); f1.GB_Status_AppendText_Nextline(sauce, Color.Blue); f1.GB_Status_AppendText_Nextline(pepperoni, Color.Blue); }
public override void prepare() { sauce = ingredientFactory.createSauce(); onion = ingredientFactory.createOnion(); }