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);
            }
        }
Beispiel #2
0
 public void CloseNotification(INotification notification)
 {
     _notifications.TryRemove(notification.Id, out var removedNotification);
     RequestCloseNotification(new CloseNotificationEventArgs(removedNotification.Notification));
 }