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