Beispiel #1
0
        public void Run()
        {
            var machine = new HotDrinkMachine();
            var drink   = machine.MakeDrink(HotDrinkMachine.AvailableDrink.Tea, 4);

            drink.Consume();
        }
        public void Run()
        {
            var machine = new HotDrinkMachine();
            var drink   = machine.MakeDrink();

            drink.Consume();
        }