public ProgressNotificationsBackgroundService( IHubContext <NotificationsHub, NotificationsHub.IClient> progressHub, ProgressNotificationDictionary progressNotifications, IOptions <PushNotificationsOptions> options) { _progressHub = progressHub; _progressNotifications = progressNotifications; _intervalInSeconds = options.Value.ProgressIntervalInMilliseconds; }
public NotificationsManager( IHubContext <NotificationsHub, NotificationsHub.IClient> hubContext, ProgressNotificationDictionary progressNotifications, ILogger <NotificationsManager> logger) { _hubContext = hubContext; _progressNotifications = progressNotifications; _logger = logger; }