C# Class uREPL.Evaluator

Mostra file Open project: hecomi/uREPL Class Usage Examples

Public Methods

Method Description
Evaluate ( string code, bool autoCompleteComma = true ) : CompileResult
GetCompletions ( string input, string &prefix ) : string[]
GetUsing ( ) : string
GetVars ( ) : string
Initialize ( ) : void

Private Methods

Method Description
Create ( ) : void
ReferenceAllAssemblies ( ) : void
SetUsings ( ) : void
ShowUsing ( ) : void
ShowVars ( ) : void

Method Details

Evaluate() public static method

public static Evaluate ( string code, bool autoCompleteComma = true ) : CompileResult
code string
autoCompleteComma bool
return CompileResult

GetCompletions() public static method

public static GetCompletions ( string input, string &prefix ) : string[]
input string
prefix string
return string[]

GetUsing() public static method

public static GetUsing ( ) : string
return string

GetVars() public static method

public static GetVars ( ) : string
return string

Initialize() public static method

public static Initialize ( ) : void
return void