Exemplo n.º 1
0
 public AsyncTennisOddsService(IFixtureRepository fixtureRepository, IBookmakerRepository bookmakerRepository,
                               ISqlLinqStoredProceduresRepository linqStoredProcRepository, ISqlStoredProceduresRepository sqlStoredProcRepository,
                               IPredictionRepository predictionRepository, IAsyncCouponStrategyProvider couponProvider,
                               IAsyncOddsStrategyProvider oddsProvider)
     : base(fixtureRepository, bookmakerRepository, linqStoredProcRepository, sqlStoredProcRepository, predictionRepository,
            couponProvider, oddsProvider)
 {
     this.sport = "Tennis";
 }
Exemplo n.º 2
0
 public AsyncTennisOddsService(IFixtureRepository fixtureRepository, IBookmakerRepository bookmakerRepository,
   ISqlLinqStoredProceduresRepository linqStoredProcRepository, ISqlStoredProceduresRepository sqlStoredProcRepository, 
   IPredictionRepository predictionRepository, IAsyncCouponStrategyProvider couponProvider, 
   IAsyncOddsStrategyProvider oddsProvider)
   : base(fixtureRepository, bookmakerRepository, linqStoredProcRepository, sqlStoredProcRepository, predictionRepository, 
   couponProvider, oddsProvider)
 {
   this.sport = "Tennis";
 }
Exemplo n.º 3
0
        public AsyncOddsService(IFixtureRepository fixtureRepository, IBookmakerRepository bookmakerRepository,
                                ISqlLinqStoredProceduresRepository linqStoredProcRepository, ISqlStoredProceduresRepository sqlStoredProcRepository,
                                IPredictionRepository predicitonRepository, IAsyncCouponStrategyProvider couponProvider,
                                IAsyncOddsStrategyProvider oddsProvider)
        {
            if (fixtureRepository == null)
            {
                throw new ArgumentNullException("fixtureRepository");
            }
            if (bookmakerRepository == null)
            {
                throw new ArgumentNullException("bookmakerRepository");
            }
            if (linqStoredProcRepository == null)
            {
                throw new ArgumentNullException("linqStoredProcRepository");
            }
            if (sqlStoredProcRepository == null)
            {
                throw new ArgumentNullException("sqlStoredProcRepository");
            }
            if (predicitonRepository == null)
            {
                throw new ArgumentNullException("predictionRepository");
            }
            if (couponProvider == null)
            {
                throw new ArgumentNullException("couponProvider");
            }
            if (oddsProvider == null)
            {
                throw new ArgumentNullException("oddsProvider");
            }

            this.fixtureRepository        = fixtureRepository;
            this.bookmakerRepository      = bookmakerRepository;
            this.linqStoredProcRepository = linqStoredProcRepository;
            this.sqlStoredProcRepository  = sqlStoredProcRepository;
            this.predicitonRepository     = predicitonRepository;
            this.couponProvider           = couponProvider;
            this.oddsProvider             = oddsProvider;
        }
Exemplo n.º 4
0
    public AsyncOddsService(IFixtureRepository fixtureRepository, IBookmakerRepository bookmakerRepository,
      ISqlLinqStoredProceduresRepository linqStoredProcRepository, ISqlStoredProceduresRepository sqlStoredProcRepository,
      IPredictionRepository predicitonRepository, IAsyncCouponStrategyProvider couponProvider, 
      IAsyncOddsStrategyProvider oddsProvider)
    {
      if (fixtureRepository == null) throw new ArgumentNullException("fixtureRepository");
      if (bookmakerRepository == null) throw new ArgumentNullException("bookmakerRepository");
      if (linqStoredProcRepository == null) throw new ArgumentNullException("linqStoredProcRepository");
      if (sqlStoredProcRepository == null) throw new ArgumentNullException("sqlStoredProcRepository");
      if (predicitonRepository == null) throw new ArgumentNullException("predictionRepository");
      if (couponProvider == null) throw new ArgumentNullException("couponProvider");
      if (oddsProvider == null) throw new ArgumentNullException("oddsProvider");

      this.fixtureRepository = fixtureRepository;
      this.bookmakerRepository = bookmakerRepository;
      this.linqStoredProcRepository = linqStoredProcRepository;
      this.sqlStoredProcRepository = sqlStoredProcRepository;
      this.predicitonRepository = predicitonRepository;
      this.couponProvider = couponProvider;
      this.oddsProvider = oddsProvider;
    }