public NewNotificationEventArgs(Notification notification)
 {
     Notification = notification;
 }
 public void ProcessNotification(Notification notification)
 {
     throw new NotImplementedException();
 }
 protected virtual void RaiseNewNotification(Notification notification)
 {
     var handler = NewNotification;
     if (handler != null)
         handler(this, new NewNotificationEventArgs(notification));
 }
 public void OnNewNotification(object publisher, NewNotificationEventArgs args)
 {
     Notification = args.Notification;
 }