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