protected virtual void OnNotificationRemoved(NotificationRemovedEventArgs e) { var handler = NotificationRemoved; if (handler != null) { handler(this, e); } }
void ActivityNode_NotificationRemoved(object sender, NotificationRemovedEventArgs e) { INotification backupNotification; notificationsCache.TryRemove(e.Id, out backupNotification); }
void ActivitySystem_NotificationRemoved(object sender, NotificationRemovedEventArgs e) { Notifier.NotifyAll(NotificationType.NotificationRemoved, e.Id); }
protected virtual void OnNotificationRemoved(NotificationRemovedEventArgs e) { var handler = NotificationRemoved; if (handler != null) handler(this, e); }