public HomeController(ITapOrchestrator tapOrchestrator, IKegOrchestrator kegOrchestrator, IBeerOrchestrator beerOrchestrator, IConnectionManager connectionManager) { if (tapOrchestrator == null) throw new ArgumentNullException("tapOrchestrator"); if (kegOrchestrator == null) throw new ArgumentNullException("kegOrchestrator"); if (beerOrchestrator == null) throw new ArgumentNullException("beerOrchestrator"); if (connectionManager == null) throw new ArgumentNullException("connectionManager"); _tapOrchestrator = tapOrchestrator; _kegOrchestrator = kegOrchestrator; _beerOrchestrator = beerOrchestrator; _connectionManager = connectionManager; }
public KegController(IKegOrchestrator kegOrchestrator, IBeerOrchestrator beerOrchestrator, IBreweryOrchestrator breweryOrchestrator) { if(null == kegOrchestrator) throw new ArgumentNullException("kegOrchestrator"); if(null == beerOrchestrator) throw new ArgumentNullException("beerOrchestrator"); if(null == breweryOrchestrator) throw new ArgumentNullException("breweryOrchestrator"); _kegOrchestrator = kegOrchestrator; _beerOrchestrator = beerOrchestrator; _breweryOrchestrator = breweryOrchestrator; }
public KegController(IKegOrchestrator kegOrchestrator, IBeerOrchestrator beerOrchestrator, IBreweryOrchestrator breweryOrchestrator) { if (null == kegOrchestrator) { throw new ArgumentNullException("kegOrchestrator"); } if (null == beerOrchestrator) { throw new ArgumentNullException("beerOrchestrator"); } if (null == breweryOrchestrator) { throw new ArgumentNullException("breweryOrchestrator"); } _kegOrchestrator = kegOrchestrator; _beerOrchestrator = beerOrchestrator; _breweryOrchestrator = breweryOrchestrator; }
public HomeController(ITapOrchestrator tapOrchestrator, IKegOrchestrator kegOrchestrator, IBeerOrchestrator beerOrchestrator, IConnectionManager connectionManager) { if (tapOrchestrator == null) { throw new ArgumentNullException("tapOrchestrator"); } if (kegOrchestrator == null) { throw new ArgumentNullException("kegOrchestrator"); } if (beerOrchestrator == null) { throw new ArgumentNullException("beerOrchestrator"); } if (connectionManager == null) { throw new ArgumentNullException("connectionManager"); } _tapOrchestrator = tapOrchestrator; _kegOrchestrator = kegOrchestrator; _beerOrchestrator = beerOrchestrator; _connectionManager = connectionManager; }
public KegController(IKegOrchestrator kegOrchestrator) { _kegOrchestrator = kegOrchestrator; }