Exemplo n.º 1
0
        private static void Main(string[] args)
        {
            var breakfast = new BreakfastMenu();
            var dinner    = new DinnerMenu();
            var waiter    = new Client(breakfast, dinner);

            waiter.PrintMenu();

            Console.ReadLine();
        }
Exemplo n.º 2
0
 public Client(BreakfastMenu breakfast, DinnerMenu dinner)
 {
     this._breakfast = breakfast.Items;
     this._dinner    = dinner.Items;
 }