C# 클래스 Zetbox.API.AssemblyLoader

This is the Assembly Loader. Assemblies are obtained by you configurated Assembly sources. Assemblies are copied to your WorkingFolder\bin directory. eg. C:\Users\Arthur\AppData\Local\dasz\Zetbox\Arthur's Configuration\Zetbox.Client.exe\bin.
파일 보기 프로젝트 열기: daszat/zetbox 1 사용 예제들

공개 메소드들

메소드 설명
Bootstrap ( AppDomain domain, ZetboxConfig config ) : void

Initializes the AssemblyLoader in the target AppDomain with a minimal search path.

EnsureInitialisation ( ZetboxConfig config ) : void
Load ( string name ) : Assembly

Loads an Assembly.

QualifySearchPath ( string path ) : string
ReflectionOnlyLoadFrom ( string name ) : Assembly

Loads an Assembly for Reflection only. This method does not cache the requested Assemblies.

Unload ( AppDomain domain ) : void

비공개 메소드들

메소드 설명
AssemblyLoader ( ) : System
AssemblyResolve ( object sender, ResolveEventArgs args ) : Assembly

Called by the Framework to resolve an Assembly.

InitialiseSearchPath ( HostType type, bool loadGeneratedAssemblies ) : void
InitialiseTargetAssemblyFolder ( ZetboxConfig config ) : void
LoadAssemblyByName ( string name, bool reflectOnly ) : Assembly
LocateAssembly ( string baseName, System culture ) : string

Returns the actual filename of a DLL or EXE matching a given base assembly name. Uses the SearchPath.

PdbFromDll ( string dllFile ) : string
ReflectionOnlyAssemblyResolve ( object sender, ResolveEventArgs args ) : Assembly
Unload ( ) : void

메소드 상세

Bootstrap() 공개 정적인 메소드

Initializes the AssemblyLoader in the target AppDomain with a minimal search path.
public static Bootstrap ( AppDomain domain, ZetboxConfig config ) : void
domain System.AppDomain
config Zetbox.API.Configuration.ZetboxConfig
리턴 void

EnsureInitialisation() 공개 정적인 메소드

public static EnsureInitialisation ( ZetboxConfig config ) : void
config Zetbox.API.Configuration.ZetboxConfig
리턴 void

Load() 공개 정적인 메소드

Loads an Assembly.
public static Load ( string name ) : Assembly
name string Assemblyname, passed to a AssemblyName Constructor.
리턴 System.Reflection.Assembly

QualifySearchPath() 공개 정적인 메소드

public static QualifySearchPath ( string path ) : string
path string
리턴 string

ReflectionOnlyLoadFrom() 공개 정적인 메소드

Loads an Assembly for Reflection only. This method does not cache the requested Assemblies.
public static ReflectionOnlyLoadFrom ( string name ) : Assembly
name string Assemblyname, passed to a AssemblyName Consructor.
리턴 System.Reflection.Assembly

Unload() 공개 정적인 메소드

public static Unload ( AppDomain domain ) : void
domain System.AppDomain
리턴 void