Beispiel #1
0
 public virtual String getIngredients()
 {
     return(decoratedCoffee.getIngredients());
 }
 public virtual string getIngredients()
 {
     return(_coffee.getIngredients());
 }
Beispiel #3
0
 public static void printCoffeeInfo(ICoffee c)
 {
     Console.WriteLine("Current Coffee: " + c.getCost() + ". Ingredients: " + c.getIngredients());
 }