C# Class IrcShark.Extensions.Scripting.Msl.MslScriptEngine

Inheritance: System.MarshalByRefObject, IScriptEngine
Afficher le fichier Open project: hapm/IrcShark Class Usage Examples

Méthodes publiques

Méthode Description
Compile ( System file, string binPathes ) : ScriptContainer

Compiles the given msl script file to a Script instance.

Compile ( string name, string source, string binPathes ) : ScriptContainer

Compiles the given msl script string to a Script instance.

Evaluate ( string script ) : object

Evaluates the given string and returns the result, if any.

GetCurrentProperty ( ) : string
GetGlobalVariableValue ( string varname ) : string
MslScriptEngine ( ) : System

Initializes a new instance of the MslScriptEngine class.

PopProperty ( ) : void
PushProperty ( string property ) : void
SetGlobalVariableValue ( string varname, string varvalue ) : void

Private Methods

Méthode Description
GetActivePropertyStack ( ) : Stack

Method Details

Compile() public méthode

Compiles the given msl script file to a Script instance.
public Compile ( System file, string binPathes ) : ScriptContainer
file System The file to compile.
binPathes string
Résultat IrcShark.Extensions.Scripting.ScriptContainer

Compile() public méthode

Compiles the given msl script string to a Script instance.
public Compile ( string name, string source, string binPathes ) : ScriptContainer
name string
source string
binPathes string
Résultat IrcShark.Extensions.Scripting.ScriptContainer

Evaluate() public méthode

Evaluates the given string and returns the result, if any.
public Evaluate ( string script ) : object
script string The string, that should be interpreted as a msl script.
Résultat object

GetCurrentProperty() public méthode

public GetCurrentProperty ( ) : string
Résultat string

GetGlobalVariableValue() public méthode

public GetGlobalVariableValue ( string varname ) : string
varname string
Résultat string

MslScriptEngine() public méthode

Initializes a new instance of the MslScriptEngine class.
public MslScriptEngine ( ) : System
Résultat System

PopProperty() public méthode

public PopProperty ( ) : void
Résultat void

PushProperty() public méthode

public PushProperty ( string property ) : void
property string
Résultat void

SetGlobalVariableValue() public méthode

public SetGlobalVariableValue ( string varname, string varvalue ) : void
varname string
varvalue string
Résultat void