예제 #1
0
 public override void Create(Chocolate chocolate)
 {
     if (chocolate.MainIngredienet == "milk")
     {
         Console.WriteLine("Milka Created - {0}", chocolate.ListIngredients());
     }
     else if (this.Maker != null)
     {
         this.Maker.Create(chocolate);
     }
 }
예제 #2
0
 public override void Create(Chocolate chocolate)
 {
     Console.WriteLine("Random Svoge Created - {0}, enjoy!", chocolate.ListIngredients());
 }