C# Class Server.ScriptCompiler

Datei anzeigen Open project: Grimoric/RunUO.T2A Class Usage Examples

Public Methods

Method Description
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

Private Methods

Method Description
AppendCompilerOption ( System.StringBuilder &sb, string define ) : void
GetHashCode ( string compiledFile, string scriptFiles, bool debug ) : byte[]

Method Details

Compile() public static method

public static Compile ( ) : bool
return bool

Compile() public static method

public static Compile ( bool debug ) : bool
debug bool
return bool

Compile() public static method

public static Compile ( bool debug, bool cache ) : bool
debug bool
cache bool
return bool

CompileCSScripts() public static method

public static CompileCSScripts ( Assembly &assembly ) : bool
assembly System.Reflection.Assembly
return bool

CompileCSScripts() public static method

public static CompileCSScripts ( bool debug, Assembly &assembly ) : bool
debug bool
assembly System.Reflection.Assembly
return bool

CompileCSScripts() public static method

public static CompileCSScripts ( bool debug, bool cache, Assembly &assembly ) : bool
debug bool
cache bool
assembly System.Reflection.Assembly
return bool

CompileVBScripts() public static method

public static CompileVBScripts ( Assembly &assembly ) : bool
assembly System.Reflection.Assembly
return bool

CompileVBScripts() public static method

public static CompileVBScripts ( bool debug, Assembly &assembly ) : bool
debug bool
assembly System.Reflection.Assembly
return bool

CompileVBScripts() public static method

public static CompileVBScripts ( bool debug, bool cache, Assembly &assembly ) : bool
debug bool
cache bool
assembly System.Reflection.Assembly
return bool

DeleteFiles() public static method

public static DeleteFiles ( string mask ) : void
mask string
return void

Display() public static method

public static Display ( CompilerResults results ) : void
results System.CodeDom.Compiler.CompilerResults
return void

EnsureDirectory() public static method

public static EnsureDirectory ( string dir ) : void
dir string
return void

FindTypeByFullName() public static method

public static FindTypeByFullName ( string fullName ) : Type
fullName string
return System.Type

FindTypeByFullName() public static method

public static FindTypeByFullName ( string fullName, bool ignoreCase ) : Type
fullName string
ignoreCase bool
return System.Type

FindTypeByName() public static method

public static FindTypeByName ( string name ) : Type
name string
return System.Type

FindTypeByName() public static method

public static FindTypeByName ( string name, bool ignoreCase ) : Type
name string
ignoreCase bool
return System.Type

GetCompilerOptions() public static method

public static GetCompilerOptions ( bool debug ) : string
debug bool
return string

GetReferenceAssemblies() public static method

public static GetReferenceAssemblies ( ) : string[]
return string[]

GetScripts() public static method

public static GetScripts ( string filter ) : string[]
filter string
return string[]

GetScripts() public static method

public static GetScripts ( List list, string path, string filter ) : void
list List
path string
filter string
return void

GetTypeCache() public static method

public static GetTypeCache ( Assembly asm ) : TypeCache
asm System.Reflection.Assembly
return TypeCache

GetUnusedPath() public static method

public static GetUnusedPath ( string name ) : string
name string
return string

Invoke() public static method

public static Invoke ( string method ) : void
method string
return void