C# Класс Server.ScriptCompiler

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

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

Метод Описание
Compile ( ) : bool
Compile ( bool debug ) : bool
Compile ( bool debug, bool cache ) : bool
CompileCSScripts ( Assembly &assembly ) : bool
CompileCSScripts ( bool debug, Assembly &assembly ) : bool
CompileCSScripts ( bool debug, bool cache, Assembly &assembly ) : bool
CompileVBScripts ( Assembly &assembly ) : bool
CompileVBScripts ( bool debug, Assembly &assembly ) : bool
CompileVBScripts ( bool debug, bool cache, Assembly &assembly ) : bool
DeleteFiles ( string mask ) : void
Display ( CompilerResults results ) : void
EnsureDirectory ( string dir ) : void
FindTypeByFullName ( string fullName ) : Type
FindTypeByFullName ( string fullName, bool ignoreCase ) : Type
FindTypeByName ( string name ) : Type
FindTypeByName ( string name, bool ignoreCase ) : Type
GetCompilerOptions ( bool debug ) : string
GetReferenceAssemblies ( ) : string[]
GetScripts ( string filter ) : string[]
GetScripts ( List list, string path, string filter ) : void
GetTypeCache ( Assembly asm ) : TypeCache
GetUnusedPath ( string name ) : string
Invoke ( string method ) : void

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

Метод Описание
AppendCompilerOption ( System.StringBuilder &sb, string define ) : void
GetHashCode ( string compiledFile, string scriptFiles, bool debug ) : byte[]

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

Compile() публичный статический Метод

public static Compile ( ) : bool
Результат bool

Compile() публичный статический Метод

public static Compile ( bool debug ) : bool
debug bool
Результат bool

Compile() публичный статический Метод

public static Compile ( bool debug, bool cache ) : bool
debug bool
cache bool
Результат bool

CompileCSScripts() публичный статический Метод

public static CompileCSScripts ( Assembly &assembly ) : bool
assembly System.Reflection.Assembly
Результат bool

CompileCSScripts() публичный статический Метод

public static CompileCSScripts ( bool debug, Assembly &assembly ) : bool
debug bool
assembly System.Reflection.Assembly
Результат bool

CompileCSScripts() публичный статический Метод

public static CompileCSScripts ( bool debug, bool cache, Assembly &assembly ) : bool
debug bool
cache bool
assembly System.Reflection.Assembly
Результат bool

CompileVBScripts() публичный статический Метод

public static CompileVBScripts ( Assembly &assembly ) : bool
assembly System.Reflection.Assembly
Результат bool

CompileVBScripts() публичный статический Метод

public static CompileVBScripts ( bool debug, Assembly &assembly ) : bool
debug bool
assembly System.Reflection.Assembly
Результат bool

CompileVBScripts() публичный статический Метод

public static CompileVBScripts ( bool debug, bool cache, Assembly &assembly ) : bool
debug bool
cache bool
assembly System.Reflection.Assembly
Результат bool

DeleteFiles() публичный статический Метод

public static DeleteFiles ( string mask ) : void
mask string
Результат void

Display() публичный статический Метод

public static Display ( CompilerResults results ) : void
results System.CodeDom.Compiler.CompilerResults
Результат void

EnsureDirectory() публичный статический Метод

public static EnsureDirectory ( string dir ) : void
dir string
Результат void

FindTypeByFullName() публичный статический Метод

public static FindTypeByFullName ( string fullName ) : Type
fullName string
Результат System.Type

FindTypeByFullName() публичный статический Метод

public static FindTypeByFullName ( string fullName, bool ignoreCase ) : Type
fullName string
ignoreCase bool
Результат System.Type

FindTypeByName() публичный статический Метод

public static FindTypeByName ( string name ) : Type
name string
Результат System.Type

FindTypeByName() публичный статический Метод

public static FindTypeByName ( string name, bool ignoreCase ) : Type
name string
ignoreCase bool
Результат System.Type

GetCompilerOptions() публичный статический Метод

public static GetCompilerOptions ( bool debug ) : string
debug bool
Результат string

GetReferenceAssemblies() публичный статический Метод

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

GetScripts() публичный статический Метод

public static GetScripts ( string filter ) : string[]
filter string
Результат string[]

GetScripts() публичный статический Метод

public static GetScripts ( List list, string path, string filter ) : void
list List
path string
filter string
Результат void

GetTypeCache() публичный статический Метод

public static GetTypeCache ( Assembly asm ) : TypeCache
asm System.Reflection.Assembly
Результат TypeCache

GetUnusedPath() публичный статический Метод

public static GetUnusedPath ( string name ) : string
name string
Результат string

Invoke() публичный статический Метод

public static Invoke ( string method ) : void
method string
Результат void