void AddNotification(NotificationEvent n) { var notification = new Notification(n.Text, n.Details); notifications.Add(notification); Messenger.Default.Send(new NotificationAdded(notification)); }
public NotificationAdded(Notification notification) { this.notification = notification; }