public CommandWorker(
     IEventBus bus,
     IConfigurationManager configurationManager,
     IPresenceStore presenceStore,
     IChatCommandResolver chatCommandResolver,
     ILogger logger)
 {
     this.bus = bus;
     this.configurationManager = configurationManager;
     this.presenceStore        = presenceStore;
     this.chatCommandResolver  = chatCommandResolver;
     this.logger = logger.ForContext <CommandWorker>();
 }
Exemple #2
0
 public WorkerHost(
     IEventBus bus,
     IList <ITextToSpeechProcessor> textToSpeechProcessors,
     ITwitchClientWrapper clientWrapper,
     ITwitchApiWrapper apiWrapper,
     ILogger logger,
     IConfigurationManager configurationManager,
     IPresenceStore presenceStore,
     IChatCommandResolver chatCommandResolver,
     ISoundProcessor soundProcessor,
     IConfigurationPathProvider configurationPathProvider)
 {
     this.bus = bus;
     this.textToSpeechProcessors = textToSpeechProcessors;
     this.clientWrapper          = clientWrapper;
     this.apiWrapper             = apiWrapper;
     this.logger = logger.ForContext <WorkerHost>();
     this.configurationManager      = configurationManager;
     this.presenceStore             = presenceStore;
     this.chatCommandResolver       = chatCommandResolver;
     this.soundProcessor            = soundProcessor;
     this.configurationPathProvider = configurationPathProvider;
 }