Пример #1
0
 public override void Prepare()
 {
     Console.WriteLine("Preparing " + Name);
     dough  = ingredientFactory.createDough();
     sauce  = ingredientFactory.createSauce();
     cheese = ingredientFactory.createCheese();
 }
Пример #2
0
 public override void prepare()
 {
     Console.WriteLine("Preparing " + this.name);
     this.dough  = ingredientFactory.createDough();
     this.sauce  = ingredientFactory.createSauce();
     this.cheese = ingredientFactory.createCheese();
 }
Пример #3
0
 public override void Prepare()
 {
     dough  = ingredientFactory.createDough();
     sauce  = ingredientFactory.createSauce();
     cheese = ingredientFactory.createCheese();
     clams  = ingredientFactory.createClams();
 }
Пример #4
0
 public override void Prepare()
 {
     Console.WriteLine("准备:" + name);
     dough  = _pizzaIngredientFactory.createDough();
     sauce  = _pizzaIngredientFactory.createSauce();
     cheese = _pizzaIngredientFactory.createCheese();
 }
Пример #5
0
 void prepare()
 {
     Console.WriteLine("Preparing " + Name);
     dough   = ingredientFactory.createDough();
     sauce   = ingredientFactory.createSauce();
     cheese  = ingredientFactory.createCheese();
     veggies = ingredientFactory.createVeggies();
 }
Пример #6
0
 public override void prepare()
 {
     Console.WriteLine("Preparing " + Name);
     Dough   = ingredientFactory.createDough();
     Sauce   = ingredientFactory.createSauce();
     Cheese  = ingredientFactory.createCheese();
     Veggies = ingredientFactory.createVeggies();
 }
Пример #7
0
 public override void Prepare()
 {
     Console.WriteLine("准备:" + name);
     dough  = _pizzaIngredientFactory.createDough();
     sauce  = _pizzaIngredientFactory.createSauce();
     cheese = _pizzaIngredientFactory.createCheese();
     clam   = _pizzaIngredientFactory.createClam();//纽约工厂就会使用新鲜的蛤蜊,芝加哥工厂就会用冷冻的蛤蜊。
 }
Пример #8
0
 public override void prepare()
 {
     Console.WriteLine("准备:" + name);
     dough   = ingredientFactory.createDough();
     sauce   = ingredientFactory.createSauce();
     cheese  = ingredientFactory.createCheese();
     veggies = ingredientFactory.createVeggies();
 }
Пример #9
0
 public void prepare()
 {
     Console.WriteLine("Preparing " + Name);
     dough  = ingredientFactory.createDough();
     sauce  = ingredientFactory.createSauce();
     cheese = ingredientFactory.createCheese();
     clam   = ingredientFactory.createClams();
 }
Пример #10
0
 public override void prepare()
 {
     Console.WriteLine("Preparing " + name);
     dough  = pizzaIngredientFactory.createDough();
     sauce  = pizzaIngredientFactory.createSauce();
     cheese = pizzaIngredientFactory.createCheese();
     clam   = pizzaIngredientFactory.createClam();
 }
Пример #11
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();
     this.pepperoni = ingredientFactory.createPepperoni();
 }
Пример #12
0
        public override void prepare()
        {
            Form1 f1 = (Form1)Application.OpenForms["Form1"];

            dough  = ingredientfactory.createDough();
            sauce  = ingredientfactory.createSauce();
            cheese = ingredientfactory.createCheese();

            f1.GB_Status_AppendText_Nextline(dough, Color.Blue);
            f1.GB_Status_AppendText_Nextline(sauce, Color.Blue);
            f1.GB_Status_AppendText_Nextline(cheese, Color.Blue);
        }
Пример #13
0
 public override void Prepare()
 {
     Console.WriteLine("Cheese Pizza - prepare");
     factory.createCheese();
 }
Пример #14
0
 public override void prepare()
 {
     cheese = ingredientFactory.createCheese();
     onion  = ingredientFactory.createOnion();
 }