Search Results for

    Show / Hide Table of Contents

    Interface IPluginManager

    Manages instantiation of plugins.

    Namespace: Gossip.Plugins
    Assembly: Gossip.dll
    Syntax
    public interface IPluginManager

    Methods

    | Improve this Doc View Source

    AddPlugin<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.

    | Improve this Doc View Source

    InstantiatePlugins()

    Instantiate the plugins that the manager is managing.

    Declaration
    IEnumerable<IDatabasePlugin> InstantiatePlugins()
    Returns
    Type Description
    IEnumerable<IDatabasePlugin>

    An of IDatabasePlugin.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX