Exemplo n.º 1
0
 public override void Prepare()
 {
     System.Console.WriteLine($"Preparing `{GetName()}` pizza. More cheese please!");
     dough  = ingridientsFactory.CreateDough();
     cheese = ingridientsFactory.CreateCheese();
     sauce  = ingridientsFactory.CreateSause();
 }
Exemplo n.º 2
0
 public override void Prepare()
 {
     System.Console.WriteLine($"Preparing `{GetName()} pizza. More meet, no cheese!`");
     dough = ingridientsFactory.CreateDough();
     meet  = ingridientsFactory.CreateMeet();
     sauce = ingridientsFactory.CreateSause();
 }