Interface IPluginManager
Manages instantiation of plugins.
Namespace: Gossip.Plugins
Assembly: Gossip.dll
Syntax
public interface IPluginManager
Methods
| Improve this Doc View SourceAddPlugin<T>(Func<T>)
Add a plugin to the manager.
Declaration
void AddPlugin<T>(Func<T> pluginFactory)
where T : IDatabasePlugin
Parameters
| Type | Name | Description |
|---|---|---|
| Func<T> | pluginFactory | A function returning the plugin. |
Type Parameters
| Name | Description |
|---|---|
| T | The type of plugin to add. |
InstantiatePlugins()
Instantiate the plugins that the manager is managing.
Declaration
IEnumerable<IDatabasePlugin> InstantiatePlugins()
Returns
| Type | Description |
|---|---|
| IEnumerable<IDatabasePlugin> | An |