public FootballFacadeAdminService(IFootballFixtureService footballFixtureService, IFootballPredictionService footballPredictionService, IFootballOddsService footballOddsService) { if (footballFixtureService == null) throw new ArgumentNullException("footballFixtureService"); if (footballPredictionService == null) throw new ArgumentNullException("footballPredictionService"); if (footballOddsService == null) throw new ArgumentNullException("footballOddsService"); this.footballFixtureService = footballFixtureService; this.footballPredictionService = footballPredictionService; this.footballOddsService = footballOddsService; }
public FootballDownloadScheduler(IWindsorContainer container, DateTime date) { if (container == null) throw new ArgumentNullException("container"); if (date == null) throw new ArgumentNullException("date"); this.container = container; this.date = date; this.footballFixtureService = this.container.Resolve<IFootballFixtureService>(); this.footballPredictionService = this.container.Resolve<IFootballPredictionService>(); this.footballOddsService = this.container.Resolve<IFootballOddsService>(); }
public FootballDownloadScheduler(IWindsorContainer container, DateTime date) { if (container == null) { throw new ArgumentNullException("container"); } if (date == null) { throw new ArgumentNullException("date"); } this.container = container; this.date = date; this.footballFixtureService = this.container.Resolve <IFootballFixtureService>(); this.footballPredictionService = this.container.Resolve <IFootballPredictionService>(); this.footballOddsService = this.container.Resolve <IFootballOddsService>(); }
public FootballFacadeAdminService(IFootballFixtureService footballFixtureService, IFootballPredictionService footballPredictionService, IFootballOddsService footballOddsService) { if (footballFixtureService == null) { throw new ArgumentNullException("footballFixtureService"); } if (footballPredictionService == null) { throw new ArgumentNullException("footballPredictionService"); } if (footballOddsService == null) { throw new ArgumentNullException("footballOddsService"); } this.footballFixtureService = footballFixtureService; this.footballPredictionService = footballPredictionService; this.footballOddsService = footballOddsService; }