public TennisFacadeService(ITennisFixtureService tennisFixtureService, ITennisPredictionService tennisPredictionService, ITennisOddsService tennisOddsService) { if (tennisFixtureService == null) throw new ArgumentNullException("tennisFixtureService"); if (tennisPredictionService == null) throw new ArgumentNullException("tennisPredictionService"); if (tennisOddsService == null) throw new ArgumentNullException("tennisOddsService"); this.tennisFixtureService = tennisFixtureService; this.tennisPredictionService = tennisPredictionService; this.tennisOddsService = tennisOddsService; }
public TennisFacadeService(ITennisFixtureService tennisFixtureService, ITennisPredictionService tennisPredictionService, ITennisOddsService tennisOddsService) { if (tennisFixtureService == null) { throw new ArgumentNullException("tennisFixtureService"); } if (tennisPredictionService == null) { throw new ArgumentNullException("tennisPredictionService"); } if (tennisOddsService == null) { throw new ArgumentNullException("tennisOddsService"); } this.tennisFixtureService = tennisFixtureService; this.tennisPredictionService = tennisPredictionService; this.tennisOddsService = tennisOddsService; }