public ConfigurationManager( IConfigurationFileFactoryRegistry registry, ILogger logger, IConfigurationPathProvider configurationPathProvider) { configurations = new ConcurrentDictionary <Type, IConfiguration>(); this.registry = registry; this.logger = logger.ForContext <ConfigurationManager>(); this.configurationPathProvider = configurationPathProvider; }
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; }
public ConfigurationWatcher(IConfigurationManager configurationManager, IConfigurationPathProvider configurationPathProvider, ILogger logger) { this.configurationManager = configurationManager; this.configurationPathProvider = configurationPathProvider; this.logger = logger.ForContext <ConfigurationWatcher>(); }