public SlackNotificationService(ILogger <SlackNotificationService> logger, SettingsService settings, IServiceProvider serviceProvider, BackgroundExecutionWrapper bgExec) { _logger = logger; _settings = settings; _serviceProvider = serviceProvider; _bgExec = bgExec; _delayNotifyUpEndpoints = new List <Endpoint>(); _delayTasks = new List <Task>(); }
public AggregateNotificationService(IEnumerable <INotificationService> notificationServices, BackgroundExecutionWrapper bgExec) { _notificationServices = notificationServices.ToList(); _bgExec = bgExec; }