public void CloseNotification(INotification notification)
        {
            _notifications.TryRemove(notification.Id, out var removedNotification);
            RequestCloseNotification(new CloseNotificationEventArgs(removedNotification.Notification));

            if (_notificationsPending != null && _notificationsPending.Any())
            {
                var not = _notificationsPending.Dequeue();
                PushNotification(not);
            }
        }
Ejemplo n.º 2
0
 public void CloseNotification(INotification notification)
 {
     _notifications.TryRemove(notification.Id, out var removedNotification);
     RequestCloseNotification(new CloseNotificationEventArgs(removedNotification.Notification));
 }