Example #1
0
 public HOTSModule(Settings settings)
 {
     if (_client == null)
     {
         _client = new HOTSLogsClient();
     }
     _settings = settings;
 }
Example #2
0
 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;
 }