public AtisProcessManager( ILogger <AtisProcessManager> logger, IOptionsMonitor <AtisOptions> atisOptions) { this.logger = logger; this.atisOptions = atisOptions.CurrentValue; }
public AtisWorker(ILogger <AtisWorker> logger, IOptionsMonitor <AtisOptions> atisOptions, IOptionsMonitor <DiscordOptions> discordOptions, ChannelMaker channelMaker, RegexMatcher regexMatcher, AtisProcessManager atisProcessManager) { this.logger = logger; this.channelMaker = channelMaker; this.regexMatcher = regexMatcher; this.atisProcessManager = atisProcessManager; this.atisOptions = atisOptions.CurrentValue; this.discordOptions = discordOptions.CurrentValue; }