Exemplo n.º 1
0
        public AbstractCouponStrategy(IBookmakerRepository bookmakerRepository,
                                      IFixtureRepository fixtureRepository, IWebRepositoryProvider webRepositoryProvider,
                                      IValueOptions valueOptions)
        {
            if (bookmakerRepository == null)
            {
                throw new ArgumentNullException("bookmakerRepository");
            }
            if (fixtureRepository == null)
            {
                throw new ArgumentNullException("fixtureRepository");
            }
            if (webRepositoryProvider == null)
            {
                throw new ArgumentNullException("webRepository");
            }
            if (valueOptions == null)
            {
                throw new ArgumentNullException("valueOptions");
            }

            this.bookmakerRepository   = bookmakerRepository;
            this.fixtureRepository     = fixtureRepository;
            this.webRepositoryProvider = webRepositoryProvider;
            this.valueOptions          = valueOptions;

            this.missingAlias = new List <MissingTeamPlayerAliasObject>();
        }
Exemplo n.º 2
0
        public AbstractAsyncOddsStrategy(Sport sport, IBookmakerRepository bookmakerRepository,
                                         IFixtureRepository fixtureRepository, IWebRepositoryProviderAsync webRepositoryProvider)
        {
            if (sport == null)
            {
                throw new ArgumentNullException("sport");
            }
            if (bookmakerRepository == null)
            {
                throw new ArgumentNullException("bookmakerRepository");
            }
            if (fixtureRepository == null)
            {
                throw new ArgumentNullException("fixtureRepository");
            }
            if (webRepositoryProvider == null)
            {
                throw new ArgumentNullException("webRepository");
            }

            this.sport = sport;
            this.bookmakerRepository   = bookmakerRepository;
            this.fixtureRepository     = fixtureRepository;
            this.webRepositoryProvider = webRepositoryProvider;
        }
Exemplo n.º 3
0
 public CouponStrategyProvider(IBookmakerRepository bookmakerService,
                               IFixtureRepository fixtureRepository, IWebRepositoryProvider webRepositoryProvider)
 {
     this.bookmakerRepository   = bookmakerService;
     this.fixtureRepository     = fixtureRepository;
     this.webRepositoryProvider = webRepositoryProvider;
 }
Exemplo n.º 4
0
        public TennisSpreadsheetData(IBookmakerRepository bookmakerRepository,
                                     IFixtureRepository fixtureRepository, IPredictionRepository predictionRepository,
                                     IWebRepository webRepository, ISqlLinqStoredProceduresRepository storedProcRepository)
        {
            if (bookmakerRepository == null)
            {
                throw new ArgumentNullException("bookmakerRepository");
            }
            if (fixtureRepository == null)
            {
                throw new ArgumentNullException("fixtureRepository");
            }
            if (predictionRepository == null)
            {
                throw new ArgumentNullException("predictionRepository");
            }
            if (webRepository == null)
            {
                throw new ArgumentNullException("webRepository");
            }
            if (storedProcRepository == null)
            {
                throw new ArgumentNullException("storedProcRepository");
            }

            this.bookmakerRepository  = bookmakerRepository;
            this.fixtureRepository    = fixtureRepository;
            this.predictionRepository = predictionRepository;
            this.webRepository        = webRepository;
            this.storedProcRepository = storedProcRepository;

            this.predictions = new Dictionary <string, Model.GenericPrediction>();
        }
Exemplo n.º 5
0
 public CouponStrategyProvider(IBookmakerRepository bookmakerService, 
   IFixtureRepository fixtureRepository, IWebRepositoryProvider webRepositoryProvider)
 {
   this.bookmakerRepository = bookmakerService;
   this.fixtureRepository = fixtureRepository;
   this.webRepositoryProvider = webRepositoryProvider;
 }
Exemplo n.º 6
0
 public FootballOddsService(IFixtureRepository fixtureRepository, IBookmakerRepository bookmakerRepository,
                            ISqlLinqStoredProceduresRepository linqStoredProcedureRepository, ISqlStoredProceduresRepository sqlStoredProcedureRepository,
                            IPredictionRepository predictionRepository, ICouponStrategyProvider couponProvider,
                            IOddsStrategyProvider oddsProvider)
     : base(fixtureRepository, bookmakerRepository, linqStoredProcedureRepository, sqlStoredProcedureRepository,
            predictionRepository, couponProvider, oddsProvider)
 {
     this.sport = "Football";
 }
Exemplo n.º 7
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.º 8
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.º 9
0
    public FootballSpreadsheetData(IBookmakerRepository bookmakerRepository,
      IFixtureRepository fixtureRepository, IPredictionRepository predictionRepository)
    {
      if (bookmakerRepository == null) throw new ArgumentNullException("bookmakerRepository");
      if (fixtureRepository == null) throw new ArgumentNullException("fixtureRepository");
      if (predictionRepository == null) throw new ArgumentNullException("predictionRepository");

      this.bookmakerRepository = bookmakerRepository;
      this.fixtureRepository = fixtureRepository;
      this.predictionRepository = predictionRepository;
    }
Exemplo n.º 10
0
    public AsyncOddsStrategyProvider(IBookmakerRepository bookmakerRepository,
      IFixtureRepository fixtureRepository, IWebRepositoryProviderAsync webRepositoryProvider)
    {
      if (bookmakerRepository == null) throw new ArgumentNullException("bookmakerRepository");
      if (fixtureRepository == null) throw new ArgumentNullException("fixtureRepository");
      if (webRepositoryProvider == null) throw new ArgumentNullException("webRepository");

      this.bookmakerRepository = bookmakerRepository;
      this.fixtureRepository = fixtureRepository;
      this.webRepositoryProvider = webRepositoryProvider;
    }
Exemplo n.º 11
0
    public AbstractAsyncOddsStrategy(Sport sport, IBookmakerRepository bookmakerRepository, 
      IFixtureRepository fixtureRepository, IWebRepositoryProviderAsync webRepositoryProvider)
    {
      if (sport == null) throw new ArgumentNullException("sport");
      if (bookmakerRepository == null) throw new ArgumentNullException("bookmakerRepository");
      if (fixtureRepository == null) throw new ArgumentNullException("fixtureRepository");
      if (webRepositoryProvider == null) throw new ArgumentNullException("webRepository");

      this.sport = sport;
      this.bookmakerRepository = bookmakerRepository;
      this.fixtureRepository = fixtureRepository;
      this.webRepositoryProvider = webRepositoryProvider;
    }
    public AbstractAsyncCouponStrategy(IBookmakerRepository bookmakerRepository,
      IFixtureRepository fixtureRepository, IWebRepositoryProviderAsync webRepositoryProvider, 
      IValueOptions valueOptions)
    {
      if (bookmakerRepository == null) throw new ArgumentNullException("bookmakerRepository");
      if (fixtureRepository == null) throw new ArgumentNullException("fixtureRepository");
      if (webRepositoryProvider == null) throw new ArgumentNullException("webRepository");
      if (valueOptions == null) throw new ArgumentNullException("valueOptions");

      this.bookmakerRepository = bookmakerRepository;
      this.fixtureRepository = fixtureRepository;
      this.webRepositoryProvider = webRepositoryProvider;
      this.valueOptions = valueOptions;

      this.missingAlias = new List<MissingTeamPlayerAliasObject>();
    }
Exemplo n.º 13
0
    public TennisSpreadsheetData(IBookmakerRepository bookmakerRepository,
      IFixtureRepository fixtureRepository, IPredictionRepository predictionRepository,
      IWebRepository webRepository, ISqlLinqStoredProceduresRepository storedProcRepository)
    {
      if (bookmakerRepository == null) throw new ArgumentNullException("bookmakerRepository");
      if (fixtureRepository == null) throw new ArgumentNullException("fixtureRepository");
      if (predictionRepository == null) throw new ArgumentNullException("predictionRepository");
      if (webRepository == null) throw new ArgumentNullException("webRepository");
      if (storedProcRepository == null) throw new ArgumentNullException("storedProcRepository");

      this.bookmakerRepository = bookmakerRepository;
      this.fixtureRepository = fixtureRepository;
      this.predictionRepository = predictionRepository;
      this.webRepository = webRepository;
      this.storedProcRepository = storedProcRepository;

      this.predictions = new Dictionary<string, Model.GenericPrediction>();
    }
Exemplo n.º 14
0
        public OddsService(IFixtureRepository fixtureRepository, IBookmakerRepository bookmakerRepository,
                           ISqlLinqStoredProceduresRepository linqStoredProcedureRepository, ISqlStoredProceduresRepository sqlStoredProcedureRepository,
                           IPredictionRepository predicitonRepository, ICouponStrategyProvider couponProvider,
                           IOddsStrategyProvider oddsProvider)
        {
            if (fixtureRepository == null)
            {
                throw new ArgumentNullException("fixtureRepository");
            }
            if (bookmakerRepository == null)
            {
                throw new ArgumentNullException("bookmakerRepository");
            }
            if (linqStoredProcedureRepository == null)
            {
                throw new ArgumentNullException("linqStoredProcedureRepository");
            }
            if (sqlStoredProcedureRepository == null)
            {
                throw new ArgumentNullException("sqlStoredProcedureRepository");
            }
            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.linqStoredProcedureRepository = linqStoredProcedureRepository;
            this.predicitonRepository          = predicitonRepository;
            this.couponProvider = couponProvider;
            this.oddsProvider   = oddsProvider;

            this.prescreenedCouponTarget = new List <Model.GenericMatchCoupon>();
        }
Exemplo n.º 15
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.º 16
0
        public FootballSpreadsheetData(IBookmakerRepository bookmakerRepository,
                                       IFixtureRepository fixtureRepository, IPredictionRepository predictionRepository)
        {
            if (bookmakerRepository == null)
            {
                throw new ArgumentNullException("bookmakerRepository");
            }
            if (fixtureRepository == null)
            {
                throw new ArgumentNullException("fixtureRepository");
            }
            if (predictionRepository == null)
            {
                throw new ArgumentNullException("predictionRepository");
            }

            this.bookmakerRepository  = bookmakerRepository;
            this.fixtureRepository    = fixtureRepository;
            this.predictionRepository = predictionRepository;
        }
Exemplo n.º 17
0
        public OddsStrategyProvider(IBookmakerRepository bookmakerRepository,
                                    IFixtureRepository fixtureRepository, IWebRepositoryProvider webRepositoryProvider)
        {
            if (bookmakerRepository == null)
            {
                throw new ArgumentNullException("bookmakerRepository");
            }
            if (fixtureRepository == null)
            {
                throw new ArgumentNullException("fixtureRepository");
            }
            if (webRepositoryProvider == null)
            {
                throw new ArgumentNullException("webRepository");
            }

            this.bookmakerRepository   = bookmakerRepository;
            this.fixtureRepository     = fixtureRepository;
            this.webRepositoryProvider = webRepositoryProvider;
        }
Exemplo n.º 18
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.º 19
0
    public OddsService(IFixtureRepository fixtureRepository, IBookmakerRepository bookmakerRepository,
      ISqlLinqStoredProceduresRepository linqStoredProcedureRepository, ISqlStoredProceduresRepository sqlStoredProcedureRepository,
      IPredictionRepository predicitonRepository, ICouponStrategyProvider couponProvider, 
      IOddsStrategyProvider oddsProvider)
    {
      if (fixtureRepository == null) throw new ArgumentNullException("fixtureRepository");
      if (bookmakerRepository == null) throw new ArgumentNullException("bookmakerRepository");
      if (linqStoredProcedureRepository == null) throw new ArgumentNullException("linqStoredProcedureRepository");
      if (sqlStoredProcedureRepository == null) throw new ArgumentNullException("sqlStoredProcedureRepository");
      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.linqStoredProcedureRepository = linqStoredProcedureRepository;
      this.predicitonRepository = predicitonRepository;
      this.couponProvider = couponProvider;
      this.oddsProvider = oddsProvider;

      this.prescreenedCouponTarget = new List<Model.GenericMatchCoupon>();
    }
 public BestBettingAsyncOddsStrategy(Sport sport, IBookmakerRepository bookmakerRepository,
   IFixtureRepository fixtureRepository, IWebRepositoryProviderAsync webRepositoryProvider)
   : base(sport, bookmakerRepository, fixtureRepository, webRepositoryProvider)
 { }
Exemplo n.º 21
0
 public BookmakerService(IBookmakerRepository bookmakerRepository, IMapper mapper)
 {
     _bookmakerRepository = bookmakerRepository;
     _mapper = mapper;
 }
Exemplo n.º 22
0
 public BestBettingOddsStrategy(Sport sport, IBookmakerRepository bookmakerRepository,
                                IFixtureRepository fixtureRepository, IWebRepositoryProvider webRepositoryProvider)
     : base(sport, bookmakerRepository, fixtureRepository, webRepositoryProvider)
 {
 }
Exemplo n.º 23
0
 public OddsCheckerMobiAsyncOddsStrategy(Sport sport, IBookmakerRepository bookmakerRepository,
                                         IFixtureRepository fixtureRepository, IWebRepositoryProviderAsync webRepositoryProvider)
     : base(sport, bookmakerRepository, fixtureRepository, webRepositoryProvider)
 {
 }
Exemplo n.º 24
0
 public FootballOddsService(IFixtureRepository fixtureRepository, IBookmakerRepository bookmakerRepository,
   ISqlLinqStoredProceduresRepository linqStoredProcedureRepository, ISqlStoredProceduresRepository sqlStoredProcedureRepository,
   IPredictionRepository predictionRepository, ICouponStrategyProvider couponProvider, 
   IOddsStrategyProvider oddsProvider)
   : base(fixtureRepository, bookmakerRepository, linqStoredProcedureRepository, sqlStoredProcedureRepository, 
   predictionRepository, couponProvider, oddsProvider)
 {
   this.sport = "Football";
 }
 public BestBettingAsyncCouponStrategy(IBookmakerRepository bookmakerRepository,
                                       IFixtureRepository fixtureRepository, IWebRepositoryProviderAsync webRepositoryProvider,
                                       IValueOptions valueOptions)
     : base(bookmakerRepository, fixtureRepository, webRepositoryProvider, valueOptions)
 {
 }
 public OddsCheckerMobiAsyncCouponStrategy(IBookmakerRepository bookmakerRepository,
                                           IFixtureRepository fixtureRepository, IWebRepositoryProviderAsync webRepositoryProvider,
                                           IValueOptions valueOptions)
     : base(bookmakerRepository, fixtureRepository, webRepositoryProvider, valueOptions)
 {
 }
 public OddsCheckerMobiAsyncOddsStrategy(Sport sport, IBookmakerRepository bookmakerRepository,
   IFixtureRepository fixtureRepository, IWebRepositoryProviderAsync webRepositoryProvider)
   : base(sport, bookmakerRepository, fixtureRepository, webRepositoryProvider)
 { }