Beispiel #1
0
 public void Delete()
 {
     NotificationMagazine.RemoveNotification(this);
 }
Beispiel #2
0
    public static void CreateNotification(NotificationPriority priority, string text)
    {
        Notification notification = new Notification(priority, text);

        NotificationMagazine.AddNotification(notification);
    }