Example #1
0
 // private CoffeeMachineConsoleWriter coffeeMachineConsoleWriter;
 public OrderConsoleWriter(ICoffeeMachineService coffeeMachineService, IOrderService orderService)
 {
     this.coffeeMachineService = coffeeMachineService;
     this.orderService         = orderService;
     // coffeeMachineConsoleWriter = new CoffeeMachineConsoleWriter();
 }
Example #2
0
        // private CoffeeMachineConsoleWriter coffeeMachineConsoleWriter;

        public DrinkConsoleWriter(ICoffeeMachineService coffeeMachineService, IDrinkService drinkService)
        {
            this.coffeeMachineService = coffeeMachineService;
            this.drinkService         = drinkService;
            // coffeeMachineConsoleWriter = new CoffeeMachineConsoleWriter();
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="CoffeeController"/> class.
 /// </summary>
 /// <param name="logger">The logger.</param>
 public CoffeeController(ILogger <CoffeeController> logger, IAuditService auditService, ICoffeeMachineService coffeeMachineService)
 {
     this._logger = logger;
     this._coffeeMachineService = coffeeMachineService;
     this._auditService         = auditService;
 }
 public CoffeeMachineConsoleWriter(ICoffeeMachineService coffeeMachineService)
 {
     this.coffeeMachineService = coffeeMachineService;
 }