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"; }
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; }
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; }