Method | Description | |
---|---|---|
Eval ( string expression ) : object |
Evaluates an expression.
|
|
Eval ( string language, string expression ) : object |
Evaluates an expression using the specified language.
|
|
Parse ( string text ) : |
Parses the specified text and returns an object that can be used for evaluation.
|
|
ScriptEngine ( string language ) : System |
Initializes a new instance of the ScriptEngine class.
|
|
SetNamedItem ( string name, object value ) : void |
Adds the name of a root-level item to the scripting engine's name space.
|
Method | Description | |
---|---|---|
IDisposable ( ) : void | ||
Parse ( string text, bool expression ) : object |
public Eval ( string expression ) : object | ||
expression | string | The expression. May not be null. |
return | object |
public static Eval ( string language, string expression ) : object | ||
language | string | The language. |
expression | string | The expression. May not be null. |
return | object |
public Parse ( string text ) : |
||
text | string | The text to parse. |
return |
public ScriptEngine ( string language ) : System | ||
language | string | The scripting language. Standard Windows Script engines names are 'jscript' or 'vbscript'. |
return | System |
public SetNamedItem ( string name, object value ) : void | ||
name | string | The name. May not be null. |
value | object | The value. It must be a ComVisible object. |
return | void |