Exemple #1
0
        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>();
        }
Exemple #2
0
 public AggregateNotificationService(IEnumerable <INotificationService> notificationServices, BackgroundExecutionWrapper bgExec)
 {
     _notificationServices = notificationServices.ToList();
     _bgExec = bgExec;
 }