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;
    }
Exemplo n.º 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;
        }