public StyleController(IStyleOrchestrator styleOrchestrator) { if(null == styleOrchestrator) throw new ArgumentNullException("styleOrchestrator"); _styleOrchestrator = styleOrchestrator; }
public StyleController(IStyleOrchestrator styleOrchestrator) { if (null == styleOrchestrator) { throw new ArgumentNullException("styleOrchestrator"); } _styleOrchestrator = styleOrchestrator; }
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 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; }