C# 클래스 Axiom.Core.PluginManager

Summary description for PluginManager.
상속: DisposableObject
파일 보기 프로젝트 열기: WolfgangSt/axiom 1 사용 예제들

공개 메소드들

메소드 설명
GetAssemblyTitle ( Type type ) : string
LoadAll ( ) : void

Loads all plugins specified in the plugins section of the app.config file.

LoadDirectory ( string path ) : void
UnloadAll ( ) : void

Unloads all currently loaded plugins.

보호된 메소드들

메소드 설명
ScanForPlugins ( ) : IList

Scans for plugin files in the current directory.

ScanForPlugins ( string folder ) : IList

Scans for plugin files in the current directory.

dispose ( bool disposeManagedResources ) : void

비공개 메소드들

메소드 설명
IsValidModule ( string file ) : bool

Checks if the given Module contains managed code

LoadPlugin ( ObjectCreator creator ) : IPlugin

Loads a plugin of the given class name from the given assembly, and calls Initialize() on it. This function does NOT add the plugin to the PluginManager's list of plugins.

PluginManager ( ) : System

Internal constructor. This class cannot be instantiated externally.

메소드 상세

GetAssemblyTitle() 공개 정적인 메소드

public static GetAssemblyTitle ( Type type ) : string
type System.Type
리턴 string

LoadAll() 공개 메소드

Loads all plugins specified in the plugins section of the app.config file.
public LoadAll ( ) : void
리턴 void

LoadDirectory() 공개 메소드

public LoadDirectory ( string path ) : void
path string
리턴 void

ScanForPlugins() 보호된 메소드

Scans for plugin files in the current directory.
protected ScanForPlugins ( ) : IList
리턴 IList

ScanForPlugins() 보호된 메소드

Scans for plugin files in the current directory.
protected ScanForPlugins ( string folder ) : IList
folder string
리턴 IList

UnloadAll() 공개 메소드

Unloads all currently loaded plugins.
public UnloadAll ( ) : void
리턴 void

dispose() 보호된 메소드

protected dispose ( bool disposeManagedResources ) : void
disposeManagedResources bool
리턴 void