This class is used to transmit notifications in interactive mode.
Inheritance: 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
文件: Repl.cs 项目: FlorianRappl/YAMP
 static void OnNotified(Object sender, NotificationEventArgs e)
 {
     Console.WriteLine(e.Message);
     Trace.WriteLine(e.Message);
 }