public void AddNotification(IToastNotification notification)
        {
            if (!NotificationHandler.ToastNotifications.Contains(notification))
            {
                NotificationHandler.AddNotification(notification);
                OnToastReceived?.Invoke(this, new ToastChangedEventArgs(notification));

                OnToastChanged?.Invoke(this, new ToastChangedEventArgs());
            }
        }
 public void AcknowledgeMessage(string Id)
 {
     NotificationHandler.RemoveNotification(Id);
     OnToastAcknowledged?.Invoke(this, new ToastNotificationAcknowledged(Id));
     OnToastChanged?.Invoke(this, new ToastChangedEventArgs());
 }
 public void ClearNotifications()
 {
     NotificationHandler.ClearNotifications();
     OnToastListCleared?.Invoke(this, new ToastChangedEventArgs());
     OnToastChanged?.Invoke(this, new ToastChangedEventArgs());
 }