Exemplo n.º 1
0
 public AtisProcessManager(
     ILogger <AtisProcessManager> logger,
     IOptionsMonitor <AtisOptions> atisOptions)
 {
     this.logger      = logger;
     this.atisOptions = atisOptions.CurrentValue;
 }
Exemplo n.º 2
0
 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;
 }