Example #1
0
 public GamesTestHelper(IGameCommands gameCommands, IGameRepository gameRepository, IGameManagement gameManagement, IGameQueries gameQueries)
 {
     _gameCommands    = gameCommands;
     _gameManagement  = gameManagement;
     _gameQueries     = gameQueries;
     _gamesRepository = gameRepository;
 }
Example #2
0
 public GamesController(
     IGameQueries gameQueries,
     IGameManagement gameCommands)
 {
     _gameQueries    = gameQueries;
     _gameManagement = gameCommands;
 }
 public GameProvidersController(
     IGameManagement gameManagement,
     IGameQueries queries)
 {
     _queries        = queries;
     _gameManagement = gameManagement;
     randNumGen      = new RNGCryptoServiceProvider();
 }
Example #4
0
 public BrandProductController(
     IGameQueries gameQueries,
     BrandQueries brandQueries,
     BrandCommands brandCommands,
     IGameManagement gameCommands,
     IAuthQueries authQueries,
     IAdminQueries adminQueries)
     : base(authQueries, adminQueries)
 {
     _gameQueries   = gameQueries;
     _brandQueries  = brandQueries;
     _brandCommands = brandCommands;
     _gameCommands  = gameCommands;
     _adminQueries  = adminQueries;
 }
Example #5
0
 public BrandTestHelper(
     IBrandRepository brandRepository,
     BrandCommands brandCommands,
     LicenseeCommands licenseeCommands,
     BrandQueries brandQueries,
     GamesTestHelper gamesTestHelper,
     PaymentTestHelper paymentTestHelper,
     ICultureCommands cultureCommands,
     RiskLevelCommands riskLevelCommands,
     IGameManagement gameManagement)
 {
     _brandRepository   = brandRepository;
     _brandCommands     = brandCommands;
     _licenseeCommands  = licenseeCommands;
     _brandQueries      = brandQueries;
     _gamesTestHelper   = gamesTestHelper;
     _paymentTestHelper = paymentTestHelper;
     _cultureCommands   = cultureCommands;
     _riskLevelCommands = riskLevelCommands;
     _gameManagement    = gameManagement;
 }
Example #6
0
        public override void BeforeEach()
        {
            base.BeforeEach();

            _queries        = Container.Resolve <IGameQueries>();
            _gameManagement = Container.Resolve <IGameManagement>();
            _repository     = Container.Resolve <FakeGameRepository>();

            _repository.GameProviders.Add(
                new GameProvider
            {
                Id   = Guid.NewGuid(),
                Name = "Mock Sport Bets",
                Code = "Mock_Sport_Bets_code"
            });

            var securityTestHelper = Container.Resolve <SecurityTestHelper>();

            securityTestHelper.PopulatePermissions();
            securityTestHelper.CreateAndSignInSuperAdmin();
        }
Example #7
0
 public DataSeeder(IRepository repository, IWalletOperations walletCommands, IGameManagement gameManagement)
 {
     _repository     = repository;
     _walletCommands = walletCommands;
     _gameManagement = gameManagement;
 }
Example #8
0
 public LobbyModule(IGameModuleStorage gameStorage, IChatControl chat, IPlayerStorage players, IGameManagement gameManagement) : base("Lobby", "Lobby Module")
 {
     Logic.ChatControl    = chat;
     Logic.GameDic        = gameStorage.Games;
     Logic.PlayerStorage  = players;
     Logic.GameManagement = gameManagement;
 }
 public ApplicationSeeder(
     IRepositoryBase repositoryBase,
     IBrandRepository brandRepository,
     ILicenseeCommands licenseeCommands,
     ICurrencyCommands currencyCommands,
     IBrandCommands brandCommands,
     ICultureCommands cultureCommands,
     IPlayerRepository playerRepository,
     IBrandOperations walletCommands,
     PlayerCommands playerCommands,
     IAuthCommands authCommands,
     IAuthRepository authRepository,
     RoleService roleService,
     ISecurityRepository securityRepository,
     IBankCommands bankCommands,
     IBankAccountCommands bankAccountCommands,
     IPaymentLevelCommands paymentLevelCommands,
     RiskLevelCommands riskLevelCommands,
     IPaymentRepository paymentRepository,
     IGameRepository gameRepository,
     IGameManagement gameManagement,
     ICurrencyExchangeCommands currencyExchangeCommands,
     ContentTranslationCommands contentTranslationCommands,
     BackendIpRegulationService backendIpRegulationService,
     BrandIpRegulationService brandIpRegulationService,
     IPaymentGatewaySettingsCommands paymentGatewaySettingsCommands,
     ISettingsCommands settingsCommands,
     ISettingsRepository settingsRepository,
     ICommonSettingsProvider settingsProvider,
     IMassMessageCommands massMessageCommands,
     IMessagingRepository messagingRepository,
     IEventRepository eventRepository,
     IEventBus eventBus)
 {
     _repositoryBase                 = repositoryBase;
     _brandRepository                = brandRepository;
     _licenseeCommands               = licenseeCommands;
     _currencyCommands               = currencyCommands;
     _brandCommands                  = brandCommands;
     _cultureCommands                = cultureCommands;
     _playerCommands                 = playerCommands;
     _authCommands                   = authCommands;
     _authRepository                 = authRepository;
     _roleService                    = roleService;
     _securityRepository             = securityRepository;
     _playerRepository               = playerRepository;
     _walletCommands                 = walletCommands;
     _bankCommands                   = bankCommands;
     _bankAccountCommands            = bankAccountCommands;
     _paymentLevelCommands           = paymentLevelCommands;
     _riskLevelCommands              = riskLevelCommands;
     _paymentRepository              = paymentRepository;
     _gameRepository                 = gameRepository;
     _gameManagement                 = gameManagement;
     _currencyExchangeCommands       = currencyExchangeCommands;
     _contentTranslationCommands     = contentTranslationCommands;
     _backendIpRegulationService     = backendIpRegulationService;
     _brandIpRegulationService       = brandIpRegulationService;
     _paymentGatewaySettingsCommands = paymentGatewaySettingsCommands;
     _settingsCommands               = settingsCommands;
     _settingsRepository             = settingsRepository;
     _settingsProvider               = settingsProvider;
     _massMessageCommands            = massMessageCommands;
     _messagingRepository            = messagingRepository;
     _eventRepository                = eventRepository;
     _eventBus = eventBus;
 }