This class is used to transmit notifications in interactive mode.
Inheritance: System.EventArgs
Exemple #1
0
 /// <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);
     }
 }
Exemple #2
0
 static void OnNotified(Object sender, NotificationEventArgs e)
 {
     Console.WriteLine(e.Message);
     Trace.WriteLine(e.Message);
 }