C# Класс CSI.Interpreter

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Console IConsole
returnsValue bool

Открытые методы

Метод Описание
AddNamespace ( string ns ) : bool
AddReference ( string r ) : void
DefaultIncludeFile ( ) : string
FullExecutablePath ( ) : string
GetNamespaces ( ) : string[]
Interpreter ( ) : System
ProcessLine ( string line ) : bool
ReadIncludeCode ( string code ) : bool
ReadIncludeFile ( string file ) : bool
SetValue ( string name, object val ) : void

Приватные методы

Метод Описание
CompileLine ( string codeStr, CHash type, string assemblyName, string className ) : CompilerResults
CompileTemplate ( CompilerParameters cp, string codeStr, CHash type, string className ) : CompilerResults
ExecuteLine ( string codeStr ) : void
GetPublicRuntimeType ( Type symType ) : Type
GetPublicRuntimeTypeName ( Type symType, bool useSimplifiedNamespaces ) : string
GetTypeName ( Type symType, bool useSimplifiedNamespaces ) : string
MassageInput ( string s, bool &wasAssignment ) : string
ProcessCommand ( string line ) : void
ShowErrors ( CompilerResults cr, string codeStr ) : void
firstToken ( string s ) : string
word_within ( string s, string strs ) : bool

Описание методов

AddNamespace() публичный Метод

public AddNamespace ( string ns ) : bool
ns string
Результат bool

AddReference() публичный Метод

public AddReference ( string r ) : void
r string
Результат void

DefaultIncludeFile() публичный Метод

public DefaultIncludeFile ( ) : string
Результат string

FullExecutablePath() публичный Метод

public FullExecutablePath ( ) : string
Результат string

GetNamespaces() публичный Метод

public GetNamespaces ( ) : string[]
Результат string[]

Interpreter() публичный Метод

public Interpreter ( ) : System
Результат System

ProcessLine() публичный Метод

public ProcessLine ( string line ) : bool
line string
Результат bool

ReadIncludeCode() публичный Метод

public ReadIncludeCode ( string code ) : bool
code string
Результат bool

ReadIncludeFile() публичный Метод

public ReadIncludeFile ( string file ) : bool
file string
Результат bool

SetValue() публичный Метод

public SetValue ( string name, object val ) : void
name string
val object
Результат void

Описание свойств

Console публичное статическое свойство

public static IConsole Console
Результат IConsole

returnsValue публичное свойство

public bool returnsValue
Результат bool