public override void prepare() { Console.WriteLine("Preparing " + name); this.dough = ingredientFactory.createDough(); this.sauce = ingredientFactory.createSauce(); this.cheese = ingredientFactory.createCheese(); this.veggies = ingredientFactory.createVeggies(); }
public override void prepare() { Console.WriteLine("Preparing " + Name); Dough = ingredientFactory.createDough(); Sauce = ingredientFactory.createSauce(); Cheese = ingredientFactory.createCheese(); Veggies = ingredientFactory.createVeggies(); }
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 = ingredientFactory.createDough(); sauce = ingredientFactory.createSauce(); cheese = ingredientFactory.createCheese(); veggies = ingredientFactory.createVeggies(); }