IScriptRunBase Interface
Definition
Represents methods and properties declaration to describe runner for script engine.
Syntax
public interface IScriptRunBase
Properties
CaseSensitive | When implemented by a class, indicates whether script language is case sensitive. |
Compiled | When implemented by a class, gets boolean value indicating that script has been compiled and ready to be executed. |
Executed | When implemented by a class, gets boolean value indicating that script has been executed at least once. |
ScriptSource |
Methods
Compile() | When implemented by a class, initializes script engine and compiles the script. |
EvaluateExpression(String) | When implemented by a class, evaluates specified expression. |
LoadScript(String) | When implemented by a class, load script from specified file. |
OnFileLoad(String) | When implemented by a class, invokes |
OnScriptCompiled() | When implemented by a class, invokes |
OnScriptError(ScriptErrorEventArgs) | When implemented by a class, invokes |
OnScriptExecuted() | When implemented by a class, invokes |
OnScriptReset() | When implemented by a class, invokes |
OnScriptRunning() | When implemented by a class, invokes |
Reset() | When implemented by a class, removes the script engine from the running state and disconnects automatically bound event handlers. |
Run() | When implemented by a class, executes script starting from the main entry point. |
Events
FileLoad | When implemented by a class, occurs when script code is loaded from file. |
ScriptCompiled | When implemented by a class, occurs when the script engine running successfully. |
ScriptError | When implemented by a class, occurs when the script engine running is failed. |
ScriptExecuted | When implemented by a class, occurs when script engine executes the script. |
ScriptReset | When implemented by a class, occurs when the script engine is reset. |
ScriptRunning | When implemented by a class, occurs when script engine tries to running script. |