public static bool Validate(ClearAlertNotification notification) { return(Validate((BaseNotification)notification) && notification.AlertIds != null && !notification.AlertIds.Any((long?id) => !id.HasValue)); }
public ClearAlertNotificationEventArgs(ClearAlertNotification notification) { Notification = notification; }
private void Dispatch(ClearAlertNotification notification) { ClearAlertNotificationEventArgs e = new ClearAlertNotificationEventArgs(notification); this.OnAlertCleared(this, e); }