public BreweryController(IBreweryOrchestrator breweryOrchestrator, IBeerOrchestrator beerOrchestrator) { if(breweryOrchestrator == null) throw new ArgumentNullException("breweryOrchestrator"); if(beerOrchestrator == null) throw new ArgumentNullException("beerOrchestrator"); _breweryOrchestrator = breweryOrchestrator; _beerOrchestrator = beerOrchestrator; }
public BeerOnTapController(IBeerOrchestrator beerOrchestrator) { if (beerOrchestrator == null) { throw new ArgumentNullException("beerOrchestrator"); } _beerOrchestrator = beerOrchestrator; }
public BeerController(IBeerOrchestrator beerOrchestrator, IBreweryOrchestrator breweryOrchestrator, IStyleOrchestrator styleOrchestrator) { if (beerOrchestrator == null) throw new ArgumentNullException("beerOrchestrator"); if (null == breweryOrchestrator) throw new ArgumentNullException("breweryOrchestrator"); if(null == styleOrchestrator) throw new ArgumentNullException("styleOrchestrator"); _beerOrchestrator = beerOrchestrator; _breweryOrchestrator = breweryOrchestrator; _styleOrchestrator = styleOrchestrator; }
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 BreweryController(IBreweryOrchestrator breweryOrchestrator, IBeerOrchestrator beerOrchestrator) { if (breweryOrchestrator == null) { throw new ArgumentNullException("breweryOrchestrator"); } if (beerOrchestrator == null) { throw new ArgumentNullException("beerOrchestrator"); } _breweryOrchestrator = breweryOrchestrator; _beerOrchestrator = beerOrchestrator; }
public BeerController(IBeerOrchestrator beerOrchestrator, IBreweryOrchestrator breweryOrchestrator, IStyleOrchestrator styleOrchestrator) { if (beerOrchestrator == null) { throw new ArgumentNullException("beerOrchestrator"); } if (null == breweryOrchestrator) { throw new ArgumentNullException("breweryOrchestrator"); } if (null == styleOrchestrator) { throw new ArgumentNullException("styleOrchestrator"); } _beerOrchestrator = beerOrchestrator; _breweryOrchestrator = breweryOrchestrator; _styleOrchestrator = styleOrchestrator; }
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 BeerOnTapController(IBeerOrchestrator beerOrchestrator) { if (beerOrchestrator == null) throw new ArgumentNullException("beerOrchestrator"); _beerOrchestrator = beerOrchestrator; }