public static void RunBuilder()
        {
            var             windowOne      = new Cashier();
            DominosFoodItem orderPizza     = new Pizza();
            DominosFoodItem orderChocoLava = new ChocoLava();

            windowOne.PlaceOrder(orderPizza);
            windowOne.PlaceOrder(orderChocoLava);
        }
Exemple #2
0
    public static void RunBuilder()
    {
      var windowOne = new Cashier();
      DominosFoodItem orderPizza = new Pizza();
      DominosFoodItem orderChocoLava = new ChocoLava();

      windowOne.PlaceOrder(orderPizza);
      windowOne.PlaceOrder(orderChocoLava);
    }