IScriptRun Interface
Definition
Represents methods and properties declaration to describe runner for script engine.
Syntax
public interface IScriptRun : IScriptRunBase, ITypeDefinitionsLocator, IScriptFileLoader
Properties
ScriptHost | When implemented by a class, returns object that implements |
ScriptLanguage | When implemented by a class, gets or sets programming language of the script. |
ScriptSource | When implemented by a class, gets source of the script to execute. |
WaitForDebuggerOnStart | When implemented by a class, gets of sets a boolean value indicates whether script engine is to wait for a debugger connection and schedule a pause before executing the first line of application script code. |
Methods
CreateScriptHost() | When implemented by a class, creates a new |
EvaluateExpressionAsync(String, CancellationToken) | When implemented by a class, evaluates specified expression asynchronously. |
RunAsync(CancellationToken) | When implemented by a class, executes script asynchronously starting from the main entry point. |
RunFunction(String, Object[]) | When implemented by a class, executes specified function. |
RunFunctionAsync(String, Object[], CancellationToken) | When implemented by a class, executes specified function asynchronously. |