コード例 #1
0
 public override void Prepare()
 {
     dough  = ingredientFactory.createDough();
     sauce  = ingredientFactory.createSauce();
     cheese = ingredientFactory.createCheese();
     clams  = ingredientFactory.createClams();
 }
コード例 #2
0
ファイル: ClamPizza.cs プロジェクト: bmenadue/OOP3
 public void prepare()
 {
     Console.WriteLine("Preparing " + Name);
     dough  = ingredientFactory.createDough();
     sauce  = ingredientFactory.createSauce();
     cheese = ingredientFactory.createCheese();
     clam   = ingredientFactory.createClams();
 }