public MatchSummaryRepository(IClientBuilder httpClientBuilder,
                               IHttpClientRequest httpClientRequest,
                               IGenericRepository <MatchSummary> genericMatchSummaryRepository,
                               IGenericRepository <MatchPlayerStats> genericMatchPlayerStatsRepository,
                               IGenericRepository <TeamPlayer> genericTeamPlayerRepository,
                               IGenericRepository <LiveMatchStatus> genericLiveMatchStatusRepository,
                               ITeamRepository teamRepository,
                               ITeamPlayerRepository teamPlayerRepository,
                               IPlayerKillRepository playerKillRepository,
                               ITeamLiveStatusRepository teamLiveStatusRepository,
                               ILogger <PlayerKillRepository> logger,
                               ICacheService cacheService)
 {
     _httpClientBuilder                 = httpClientBuilder;
     _httpClientRequest                 = httpClientRequest;
     _genericMatchSummaryRepository     = genericMatchSummaryRepository;
     _genericMatchPlayerStatsRepository = genericMatchPlayerStatsRepository;
     _genericTeamPlayerRepository       = genericTeamPlayerRepository;
     _genericLiveMatchStatusRepository  = genericLiveMatchStatusRepository;
     _teamRepository           = teamRepository;
     _teamPlayerRepository     = teamPlayerRepository;
     _playerKillRepository     = playerKillRepository;
     _teamLiveStatusRepository = teamLiveStatusRepository;
     _logger               = logger;
     _cacheService         = cacheService;
     postMatchWaitingCount = 0;
 }
Esempio n. 2
0
 public LiveStats(IMatchSummaryRepository matchSummaryRepository,
                  ITeamLiveStatusRepository teamLiveStatusRepository,
                  IPlayerKillRepository playerKillRepository,
                  ITeamRankingService teamRankingService,
                  IRanking ranking)
 {
     _matchSummaryRepository   = matchSummaryRepository;
     _teamLiveStatusRepository = teamLiveStatusRepository;
     _playerKillRepository     = playerKillRepository;
     _teamRankingService       = teamRankingService;
     _ranking = ranking;
 }