/// <summary> /// Raises the notification if in interactive mode. /// </summary> /// <param name="e">The notification arguments.</param> internal void RaiseNotification(NotificationEventArgs e) { if (InteractiveMode && NotificationReceived != null) { NotificationReceived(this, e); } }
static void OnNotified(Object sender, NotificationEventArgs e) { Console.WriteLine(e.Message); Trace.WriteLine(e.Message); }