public PizzaKitchen( IPizzaOven pizzaOven, ILogger logger) { this.pizzaOven = pizzaOven ?? throw new ArgumentNullException(nameof(pizzaOven)); this.logger = logger ?? LogManager.CreateNullLogger(); }
public PizzaKitchen( IPizzaOven pizzaOven) : this(pizzaOven, null) { }
public PizzaController(IPizzaOven pizzaOven) { _pizzaOven = pizzaOven; }