public ReplayDetailsWriter(ILogger <ReplayDetailsWriter> logger, IOptions <Settings> settings, ReplayHelper replayHelper, HeroesProfileService heroesProfileService, GameDataService gameDataService)
 {
     this.logger = logger;
     this.heroesProfileService = heroesProfileService;
     this.gameDataService      = gameDataService;
     this.settings             = settings.Value;
 }
Exemple #2
0
 public TwitchService(
     ILogger <TwitchService> logger,
     IOptions <Settings> settings,
     GameDataService gameDataService,
     TwitchAPI twitchAPI,
     TwitchClient twitchClient,
     HeroesProfileService heroesProfileService)
 {
     this.settings        = settings.Value;
     this.logger          = logger;
     this.gameDataService = gameDataService;
     this.twitchAPI       = twitchAPI;
     this.twitchClient    = twitchClient;
     this.heroesProfile   = heroesProfileService;
 }