C# Class Server.ScriptCompiler

Afficher le fichier Open project: Grimoric/RunUO.T2A Class Usage Examples

Méthodes publiques

Méthode 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

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

Method Details

Compile() public static méthode

public static Compile ( ) : bool
Résultat bool

Compile() public static méthode

public static Compile ( bool debug ) : bool
debug bool
Résultat bool

Compile() public static méthode

public static Compile ( bool debug, bool cache ) : bool
debug bool
cache bool
Résultat bool

CompileCSScripts() public static méthode

public static CompileCSScripts ( Assembly &assembly ) : bool
assembly System.Reflection.Assembly
Résultat bool

CompileCSScripts() public static méthode

public static CompileCSScripts ( bool debug, Assembly &assembly ) : bool
debug bool
assembly System.Reflection.Assembly
Résultat bool

CompileCSScripts() public static méthode

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

CompileVBScripts() public static méthode

public static CompileVBScripts ( Assembly &assembly ) : bool
assembly System.Reflection.Assembly
Résultat bool

CompileVBScripts() public static méthode

public static CompileVBScripts ( bool debug, Assembly &assembly ) : bool
debug bool
assembly System.Reflection.Assembly
Résultat bool

CompileVBScripts() public static méthode

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

DeleteFiles() public static méthode

public static DeleteFiles ( string mask ) : void
mask string
Résultat void

Display() public static méthode

public static Display ( CompilerResults results ) : void
results System.CodeDom.Compiler.CompilerResults
Résultat void

EnsureDirectory() public static méthode

public static EnsureDirectory ( string dir ) : void
dir string
Résultat void

FindTypeByFullName() public static méthode

public static FindTypeByFullName ( string fullName ) : Type
fullName string
Résultat System.Type

FindTypeByFullName() public static méthode

public static FindTypeByFullName ( string fullName, bool ignoreCase ) : Type
fullName string
ignoreCase bool
Résultat System.Type

FindTypeByName() public static méthode

public static FindTypeByName ( string name ) : Type
name string
Résultat System.Type

FindTypeByName() public static méthode

public static FindTypeByName ( string name, bool ignoreCase ) : Type
name string
ignoreCase bool
Résultat System.Type

GetCompilerOptions() public static méthode

public static GetCompilerOptions ( bool debug ) : string
debug bool
Résultat string

GetReferenceAssemblies() public static méthode

public static GetReferenceAssemblies ( ) : string[]
Résultat string[]

GetScripts() public static méthode

public static GetScripts ( string filter ) : string[]
filter string
Résultat string[]

GetScripts() public static méthode

public static GetScripts ( List list, string path, string filter ) : void
list List
path string
filter string
Résultat void

GetTypeCache() public static méthode

public static GetTypeCache ( Assembly asm ) : TypeCache
asm System.Reflection.Assembly
Résultat TypeCache

GetUnusedPath() public static méthode

public static GetUnusedPath ( string name ) : string
name string
Résultat string

Invoke() public static méthode

public static Invoke ( string method ) : void
method string
Résultat void