Example #1
0
 void DoProcessEvalFinished(CorEvalEventArgs evalArgs, bool isException)
 {
     if (evalArgs.Eval != eval)
     {
         return;
     }
     context.Session.OnEndEvaluating();
     evalArgs.Continue = false;
     if (Token.IsCancellationRequested)
     {
         DebuggerLoggingService.LogMessage("EvalFinished() but evaluation was cancelled");
         tcs.TrySetCanceled();
     }
     else
     {
         DebuggerLoggingService.LogMessage("EvalFinished(). Setting the result");
         tcs.TrySetResult(new OperationResult <CorValue> (evalArgs.Eval.Result, isException));
     }
 }
Example #2
0
 void OnEvalComplete(object sender, CorEvalEventArgs e)
 {
     evaluationTimestamp++;
 }
Example #3
0
 void OnEvalException(object sender, CorEvalEventArgs e)
 {
     evaluationTimestamp++;
 }
Example #4
0
 void ProcessOnEvalException(object sender, CorEvalEventArgs evalArgs)
 {
     DoProcessEvalFinished(evalArgs, true);
 }
Example #5
0
 void ProcessOnEvalComplete(object sender, CorEvalEventArgs evalArgs)
 {
     DoProcessEvalFinished(evalArgs, false);
 }