public AsyncFootballFacadeClientService(IAsyncFootballFixtureService footballFixtureService,
      IAsyncFootballPredictionService footballPredictionService, IAsyncFootballOddsService footballOddsService)
    {
      if (footballFixtureService == null) throw new ArgumentNullException("tennisFixtureService");
      if (footballPredictionService == null) throw new ArgumentNullException("tennisPredictionService");
      if (footballOddsService == null) throw new ArgumentNullException("tennisOddsService");

      this.footballFixtureService = footballFixtureService;
      this.footballPredictionService = footballPredictionService;
      this.footballOddsService = footballOddsService;
    }
예제 #2
0
        public AsyncFootballFacadeClientService(IAsyncFootballFixtureService footballFixtureService,
                                                IAsyncFootballPredictionService footballPredictionService, IAsyncFootballOddsService footballOddsService)
        {
            if (footballFixtureService == null)
            {
                throw new ArgumentNullException("tennisFixtureService");
            }
            if (footballPredictionService == null)
            {
                throw new ArgumentNullException("tennisPredictionService");
            }
            if (footballOddsService == null)
            {
                throw new ArgumentNullException("tennisOddsService");
            }

            this.footballFixtureService    = footballFixtureService;
            this.footballPredictionService = footballPredictionService;
            this.footballOddsService       = footballOddsService;
        }