예제 #1
0
 void Recorder_Error(object sender, RecorderErrorEventArgs args)
 {
     qf4net.QF.Instance.Publish(new RecorderEvent(QFSignal.Error, Name, args.Error, args.AdditionalDescription));
 }
예제 #2
0
 /// <summary>
 /// Fires the <see cref="Error"/> event.
 /// </summary>
 /// <param name="e">A <see cref="RecorderErrorEventArgs" /> that contains the event data. </param>
 protected virtual void OnError(RecorderErrorEventArgs e)
 {
     ((RecorderErrorHandler)base.Events[nameof(Error)])?.Invoke(this, e);
 }
예제 #3
0
 private static void RecorderError(object sender, RecorderErrorEventArgs args)
 {
     Debug.Print("<Event=TestManager.RecorderError,\tRecorder=" + args.Name + ",\tError='" + args.Error + "'>");
 }