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