Exemplo n.º 1
0
 public Task <ExecutionResult> ExecuteCodeAsync(string text)
 {
     return(_evaluator?.ExecuteCodeAsync(text) ?? ExecutionResult.Failed);
 }
Exemplo n.º 2
0
 public static Task <ExecutionResult> ExecuteText(this IInteractiveEvaluator self, string text)
 {
     return(self.ExecuteCodeAsync(text));
 }