public MatchSimulator(ILogger <MatchSimulator> logger, IMatchEventService matchEventService) { _logger = logger; _matchEventService = matchEventService; //ok, normally we shouldn't do heavy stuff in the constructor _eventsRandomizer = GetEvents(); }
public MatchController(IMatchService matchService, IMatchEventService matchEventService, IMatchGoalService matchGoalService, ITeamSeasonService teamSeasonService) { _matchService = matchService; _matchEventService = matchEventService; _matchGoalService = matchGoalService; _teamSeasonService = teamSeasonService; }
public MatchService(IPlayerService playerService, IMatchQuery matchQuery, IMatchGoalService matchGoalService, IMatchEventService matchEventService, IPlayerStatsService playerStatsService, INewsService newsService, ITeamService teamService) { _matchGoalService = matchGoalService; _playerService = playerService; _matchQuery = matchQuery; _playerStatsService = playerStatsService; _matchEventService = matchEventService; _newsService = newsService; _teamService = teamService; }
public MatchCardsDisplayViewComponent(IMatchEventService matchEventService, IPlayerService playerService) { _matchEventService = matchEventService; _playerService = playerService; }
public MatchEventController(IMatchEventService matchEventService) { _matchEventService = matchEventService; }
public MatchEventServiceTests() { _matchEventRepository = new Mock <IMatchEventRepository>(); _matchEventService = new MatchEventService(_matchEventRepository.Object); }