private void Peel(Vegetable vegetable)
 {
     vegetable.Peel();
 }
 private void Cut(Vegetable vegetable)
 {
     vegetable.Cut();
 }
Exemple #3
0
 public void Add(Vegetable vegetable)
 {
     Console.WriteLine("{0} is added", vegetable);
 }
Exemple #4
0
 private void Peel(Vegetable vegetable)
 {
     Console.WriteLine("{0} is peeled.", vegetable);
 }
Exemple #5
0
 private void Cut(Vegetable vegetable)
 {
     Console.WriteLine("{0} is cut.", vegetable);
 }
 public void AddIngredient(Vegetable vegetable)
 {
     this.Ingredients.Add(vegetable);
 }