public TournamentsManager(ITeamsRepository teamsRepository, IGamesRepository gamesRepository, IEventsRepository eventsRepository, TournamentsMapper tournamentsMapper, ILeaguesRepository leaguesRepository) { _teamsRepository = teamsRepository; _gamesRepository = gamesRepository; _eventsRepository = eventsRepository; _tournamentsMapper = tournamentsMapper; _leaguesRepository = leaguesRepository; }
public GamesManager(IGamesRepository gamesRepository, IPlayersRepository playersRepository, GamesMapper gameMapper, ITeamsRepository teamsRepository, IEventsRepository eventsRepository) { _gamesRepository = gamesRepository; _playersRepository = playersRepository; _gameMapper = gameMapper; _teamsRepository = teamsRepository; _eventsRepository = eventsRepository; }
public TeamsManager(ITeamsRepository teamsRepository, IPlayersRepository playersRepository, IGamesRepository gamesRepository, ILeaguesRepository leaguesRepository, TeamsMapper teamMapper, IEventsRepository eventsRepository) { _teamsRepository = teamsRepository; _playersRepository = playersRepository; _gamesRepository = gamesRepository; _leaguesRepository = leaguesRepository; _teamMapper = teamMapper; _eventsRepository = eventsRepository; }
public LeaguesManager(ILeaguesRepository leaguesRepository, ITeamsRepository teamsRepository, IGamesRepository gamesRepository, IPlayersRepository playersRepository, IUsersRepository usersRepository, TeamsMapper teamMapper, UserStatisticCalculation userStatisticCalculation, LeaguesMapper leaguesMapper, IEventsRepository eventsRepository) { _leaguesRepository = leaguesRepository; _teamsRepository = teamsRepository; _gamesRepository = gamesRepository; _playersRepository = playersRepository; _usersRepository = usersRepository; _teamMapper = teamMapper; _userStatisticCalculation = userStatisticCalculation; _leaguesMapper = leaguesMapper; _eventsRepository = eventsRepository; }
private BetValidator CreateTarget(IGamesRepository gamesRepository, IBetsRepository betsRepository, IDateTimeProvider dateTimeProvider) { var actionLogsRepository = new Mock <IActionLogsRepository>(); return(new BetValidator(gamesRepository, betsRepository, dateTimeProvider, actionLogsRepository.Object)); }
public GameOwnerRule( IGamesRepository gamesRepository) { this.gamesRepository = gamesRepository; }
public GamesService(IGamesRepository gamesRepository) { _gamesRepository = gamesRepository; }
public CreateGameHandler(IGamesRepository gamesRepository, IUnitOfWork unitOfWork) { _gamesRepository = gamesRepository ?? throw new ArgumentNullException(nameof(gamesRepository)); _unitOfWork = unitOfWork ?? throw new ArgumentNullException(nameof(unitOfWork)); }
public NavigationMenuViewComponent(IGamesRepository repo) { repository = repo; }
public MoveController(IGamesRepository gamesRepository, IMovesRepository moveRepository, IServiceBus serviceBus) { this.gamesRepository = gamesRepository; this.moveRepository = moveRepository; this.serviceBus = serviceBus; }
public BetsController(IBetsRepository betsRepository, IBetValidator betValidator, ILoggedUserProvider userProivider, IDateTimeProvider dateTimeProvider, IActionLogsRepository actionLogsRepository, IGamesRepository gamesRepository) { userManager = new UserManager <MundialitoUser>(new UserStore <MundialitoUser>(new MundialitoContext())); if (gamesRepository == null) { throw new ArgumentNullException("gamesRepository"); } this.gamesRepository = gamesRepository; if (betsRepository == null) { throw new ArgumentNullException("betsRepository"); } this.betsRepository = betsRepository; if (betValidator == null) { throw new ArgumentNullException("betValidator"); } this.betValidator = betValidator; if (userProivider == null) { throw new ArgumentNullException("userProivider"); } this.userProivider = userProivider; if (dateTimeProvider == null) { throw new ArgumentNullException("dateTimeProvider"); } this.dateTimeProvider = dateTimeProvider; if (actionLogsRepository == null) { throw new ArgumentNullException("actionLogsRepository"); } this.actionLogsRepository = actionLogsRepository; }
public GamesController(IGamesRepository repository) { this.respository = repository; }
public ReviewGameController(ILogger <HomeController> logger, IGamesRepository gamesRepository) { Logger = logger; GamesRepository = gamesRepository; }
public ReviewsController(Context context, IGamesRepository gamesRepository, ILogger <ReviewsController> logger) { _context = context; _gamesRepository = gamesRepository; _logger = logger; }
public GamesController() { this.db = new EFGamesRepository(); }
public SpecificGameController(IGamesRepository gamesRepository) { GamesRepository = gamesRepository; }
public GamesController(IGamesRepository gameRepository, IMapper mapper) { this.gameRepository = gameRepository ?? throw new ArgumentNullException("Game Repository cannot be null"); this.mapper = mapper ?? throw new ArgumentNullException("Mapper cannot be null"); }
public ResignGameCommandHandler(IGamesRepository gamesRepository, IServiceBus serviceBus) { this.gamesRepository = gamesRepository; this.serviceBus = serviceBus; }
public ControlGame(int maxNameSize, int validYear) { MaxNameSize = maxNameSize; _repository = new GamesRepository(); MinValidYear = validYear; }
public GamesController(IGamesRepository gamesRepository) { GamesRepository = gamesRepository; }
public GamesController(IGamesRepository db) { this.db = db; }
/// <summary> /// konstruktor parametryczny wykorzystujący wstrzykiwanie zależności /// </summary> /// <param name="clientsRepository"></param> public AccountController(IClientsRepository clientsRepository, IOrdersRepository ordersRepository, IGamesRepository gamesRepository) { _clientsRepository = clientsRepository; _ordersRepository = ordersRepository; _gamesRepository = gamesRepository; }
public GamesV2Controller( IGamesRepository gamesRepository, ILogger <GamesV2Controller> logger) { _gamesRepository = gamesRepository; _logger = logger; }
public static void TestSetup(TestContext context) { _repositoryStub = new GameRepositoryStub(); _sut = new GamesController(_repositoryStub); }
public GamesService(IGamesRepository gamesRepository) { this.gamesRepository = gamesRepository; }
public DeleteGame(IGamesRepository gamesRepository, IVenuesRepository venuesRepository) { _gamesRepository = gamesRepository ?? throw new ArgumentNullException(nameof(gamesRepository)); _venuesRepository = venuesRepository ?? throw new ArgumentNullException(nameof(venuesRepository)); }
public PlayersRepository(GoTGameContextDb context, IGoTStorage storage, IGamesRepository gamesRepo) : base(context, storage) { gamesRepository = gamesRepo; }
public CartController(IGamesRepository repo, Cart cartService) { repository = repo; cart = cartService; }
public HomeController(IGamesRepository repo) { repository = repo; }
public GamesController(IGamesRepository repository) { _repository = repository; }
public GamesController(IMapper mapper, IGamesRepository repo) { _mapper = mapper; _repo = repo; }
private readonly GameToGameReportMapper _gameToGameReportMapper; //te permite convertir de la clase game a gamereportMapper public GamesQueryService(IGamesRepository gamesRepository, GameToGameReportMapper gameToGameReportMapper) { _gamesRepository = gamesRepository; _gameToGameReportMapper = gameToGameReportMapper; }
public GamesService(IGamesRepository repository) { _repository = repository; }
private GamesController CreateController(IGamesRepository gamesRepository, IBetsRepository betsRepository, IBetsResolver betsResolver, ILoggedUserProvider userProvider, IDateTimeProvider dateTimeProvider) { var actionLogsRepository = new Mock <IActionLogsRepository>(); return(new GamesController(gamesRepository, betsRepository, betsResolver, userProvider, dateTimeProvider, actionLogsRepository.Object)); }
public ChangeName(IGamesRepository gamesRepository) { _gamesRepository = gamesRepository ?? throw new ArgumentNullException(nameof(gamesRepository)); }
public GamesManager(IGamesRepository gamesRepository) { this.repository = gamesRepository; }
public GamesController(IGamesRepository repo) { repository = repo; }
public FantasyDataGamesImportService(string apiKey, IGamesImportRepository gamesImportRepository, IGamesRepository gamesRepository) { if (apiKey == null) { throw new ArgumentNullException(nameof(apiKey)); } _apiKey = apiKey; _gamesImportRepository = gamesImportRepository; _gamesRepository = gamesRepository; }