C# Class FdoToolbox.Base.Scripting.ScriptingEngine

Application script engine
显示文件 Open project: jumpinjackie/fdotoolbox

Public Methods

Method Description
ExecuteStatements ( string script ) : void

Executes the statements.

InvokeLoadedScript ( string key ) : void

Invokes the loaded script

LoadScript ( string scriptPath ) : void

Loads the script

RecompileScript ( string scriptPath ) : void

Recompiles the script. Call this if the referenced script has changed since it was loade

RunScript ( string scriptPath ) : void

Runs the script.

UnloadScript ( string script ) : void

Unloads the script.

Private Methods

Method Description
ScriptingEngine ( ) : System

Method Details

ExecuteStatements() public method

Executes the statements.
public ExecuteStatements ( string script ) : void
script string The script.
return void

InvokeLoadedScript() public method

Invokes the loaded script
public InvokeLoadedScript ( string key ) : void
key string The key.
return void

LoadScript() public method

Loads the script
public LoadScript ( string scriptPath ) : void
scriptPath string The script path.
return void

RecompileScript() public method

Recompiles the script. Call this if the referenced script has changed since it was loade
public RecompileScript ( string scriptPath ) : void
scriptPath string The script path.
return void

RunScript() public method

Runs the script.
public RunScript ( string scriptPath ) : void
scriptPath string The script path.
return void

UnloadScript() public method

Unloads the script.
public UnloadScript ( string script ) : void
script string The script.
return void