Beispiel #1
0
        private static void HandleAlertAdded(IInternalLocalUser localUser, IUserDatabase userDatabase, AbstractAddAlertNotificationEventArgs e)
        {
            Alert alert = new Alert(e.Notification.Alert);

            userDatabase.AddAlert(alert);
            localUser.DispatchOnAlertsAdded(alert);
        }