This class is used to transmit notifications in interactive mode.
Наследование: System.EventArgs
Пример #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);
     }
 }
Пример #2
0
 static void OnNotified(Object sender, NotificationEventArgs e)
 {
     Console.WriteLine(e.Message);
     Trace.WriteLine(e.Message);
 }