Mono Class Library: Overview

Mono.CSharp.Evaluator: Members

The members of Mono.CSharp.Evaluator are listed below.

See Also: Inherited members from System.Object

Public Properties

static
InteractiveBaseClassType. The base class for the classes that host the user generated code

Public Methods

static
Compile(string) : CompiledMethod
Compiles the input string and returns a delegate that represents the compiled code.
static
Compile(string, out CompiledMethod) : string
Compiles the input string and returns a delegate that represents the compiled code.
static
Evaluate(string) : object
Evaluates and expression or statement and returns the result.
static
Evaluate(string, out object, out bool) : string
Evaluates and expression or statement and returns any result values.
static
GetUsing() : string
Returns a list of the active using statements.
static
GetVars() : string
Returns a list of all local variables.
static
Init(string[])
Optional initialization for the Evaluator.
static
Interrupt()
Interrupts the evaluation of an expression executing in Evaluate.
static
LoadAssembly(string)
Loads the given assembly and exposes the API to the user.
static
ReferenceAssembly(System.Reflection.Assembly)
Exposes the API of the given assembly to the Evaluator
static
Run(string) : bool
Executes the given expression or statement.