Exemple #1
0
 private static void PrintHouseBlendSoyMochaWhip()
 {
     Beverage beverage = new HouseBlend();
     beverage = new Soy(beverage);
     beverage = new Mocha(beverage);
     beverage = new Whip(beverage);
     Console.Out.WriteLine(beverage);
 }
Exemple #2
0
 private static void PrintDarkRoastDoubleMochaWhip()
 {
     Beverage beverage = new DarkRoast();
     beverage = new Mocha(beverage);
     beverage = new Mocha(beverage);
     beverage = new Whip(beverage);
     Console.Out.WriteLine(beverage);
 }