public HOTSModule(Settings settings) { if (_client == null) { _client = new HOTSLogsClient(); } _settings = settings; }
public HOTSLogsMMRPullBackgroundService(IOptions <Configuration.Queue> queues, IBackgroundWorker backgroundWorker, HOTSLogsClient hotslogsClient, IServiceProvider provider) { if (queues.Value == null) { throw new NoNullAllowedException("Queues Config can't be null"); } this.jobQueue = queues.Value.HOTSLogsPull; this.backgroundWorker = backgroundWorker; this.hotslogsClient = hotslogsClient; this.provider = provider; }