Exemple #1
0
 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();
 }
Exemple #3
0
 void prepare()
 {
     Console.WriteLine("Preparing " + Name);
     dough   = ingredientFactory.createDough();
     sauce   = ingredientFactory.createSauce();
     cheese  = ingredientFactory.createCheese();
     veggies = ingredientFactory.createVeggies();
 }
Exemple #4
0
 public override void prepare()
 {
     Console.WriteLine("准备:" + name);
     dough   = ingredientFactory.createDough();
     sauce   = ingredientFactory.createSauce();
     cheese  = ingredientFactory.createCheese();
     veggies = ingredientFactory.createVeggies();
 }