Пример #1
0
 public void DeleteNotification(NotificationInfoBase dc)
 {
     Dispatcher.InvokeAsync(() =>
     {
         Notifications.Remove(dc);
         CheckShow();
     }, DispatcherPriority.Background);
 }
Пример #2
0
 private bool Pass(NotificationInfoBase infoBase)
 {
     return(Notifications.ToSyncList().All(n => n.Message != infoBase.Message));
 }