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