C# Class PocketCampus.Main.Services.PluginLoader

Loads plugins from the currently referenced assemblies.
Inheritance: IPluginLoader
Datei anzeigen Open project: accandme/pocketcampus

Public Methods

Method Description
GetPlugins ( ) : IPlugin[]

Gets all available plugins.

PluginLoader ( ISettingsStorage settings ) : System

Creates a new instance of the PluginLoader class.

Private Methods

Method Description
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.

Method Details

GetPlugins() public method

Gets all available plugins.
public GetPlugins ( ) : IPlugin[]
return IPlugin[]

PluginLoader() public method

Creates a new instance of the PluginLoader class.
public PluginLoader ( ISettingsStorage settings ) : System
settings ISettingsStorage
return System