Exemplo n.º 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();
 }
Exemplo n.º 2
0
 public override void prepare()
 {
     Console.WriteLine("Preparing " + Name);
     Dough   = ingredientFactory.createDough();
     Sauce   = ingredientFactory.createSauce();
     Cheese  = ingredientFactory.createCheese();
     Veggies = ingredientFactory.createVeggies();
 }
Exemplo n.º 3
0
 void prepare()
 {
     Console.WriteLine("Preparing " + Name);
     dough   = ingredientFactory.createDough();
     sauce   = ingredientFactory.createSauce();
     cheese  = ingredientFactory.createCheese();
     veggies = ingredientFactory.createVeggies();
 }
Exemplo n.º 4
0
 public override void prepare()
 {
     Console.WriteLine("准备:" + name);
     dough   = ingredientFactory.createDough();
     sauce   = ingredientFactory.createSauce();
     cheese  = ingredientFactory.createCheese();
     veggies = ingredientFactory.createVeggies();
 }