C# Класс PocketCampus.Main.Services.PluginLoader

Loads plugins from the currently referenced assemblies.
Наследование: IPluginLoader
Показать файл Открыть проект

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

Метод Описание
GetPlugins ( ) : IPlugin[]

Gets all available plugins.

PluginLoader ( ISettingsStorage settings ) : System

Creates a new instance of the PluginLoader class.

Приватные методы

Метод Описание
GetInstance ( Type type ) : object

Gets an instance of the specified type.

InheritsInterface ( Type type, Type interfaceType ) : bool

Checks whether the specified type inherits the specified interface.

Описание методов

GetPlugins() публичный Метод

Gets all available plugins.
public GetPlugins ( ) : IPlugin[]
Результат IPlugin[]

PluginLoader() публичный Метод

Creates a new instance of the PluginLoader class.
public PluginLoader ( ISettingsStorage settings ) : System
settings ISettingsStorage
Результат System