This class is used to transmit notifications in interactive mode.
Inheritance: System.EventArgs
コード例 #1
0
ファイル: ParseContext.cs プロジェクト: FlorianRappl/YAMP
 /// <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);
 }