public CheckAllServices( IServiceMonitoringRepository serviceMonitoringRepository, IReloadingManager <AppSettings> settings, ILog log) { _serviceMonitoringRepository = serviceMonitoringRepository; _serviceMonitoringSettings = settings.Nested(x => x.ServiceMonitoringJob).CurrentValue; _slackIntegrationSettings = settings.Nested(x => x.SlackIntegration).CurrentValue; _log = log; }
public SrvSlackNotifications(BaseSettings baseSettings) { _slackIntegrationSettings = baseSettings.SlackIntegration; }