C# Класс Axiom.Core.PluginManager

Summary description for PluginManager.
Наследование: DisposableObject
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
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