Table of Contents

Interface IScriptRunBase

Namespace
Alternet.Scripter
Assembly
Alternet.Scripter.Common.v9.dll

Represents methods and properties declaration to describe runner for script engine.

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 FileLoad event handler.

OnScriptCompiled()

When implemented by a class, invokes ScriptCompiled event handler.

OnScriptError(ScriptErrorEventArgs)

When implemented by a class, invokes ScriptError event handler.

OnScriptExecuted()

When implemented by a class, invokes ScriptExecuted event handler.

OnScriptReset()

When implemented by a class, invokes ScriptReset event handler.

OnScriptRunning()

When implemented by a class, invokes ScriptRunning event handler.

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.