IPluginManager<'TPlugin>
Defined in Yaaf.Xmpp.Runtime.Core.dll.
A plugin manager interface for registering and querying plugins.
Instance members
Instance member | Description |
GetPlugins()
Signature: unit -> IEnumerable<'TPlugin>
Modifiers: abstract |
Returns all currently registered plugins. |
HasPlugin(instance)
Signature: instance:'TPlugin -> bool
Modifiers: abstract |
Returns true if the current PluginManager has the plugin specified by the parameter |
HasPluginOf()
Signature: unit -> bool
Modifiers: abstract |
Returns true if the current PluginManager has the plugin specified by the type parameter |
RegisterPlugin(plugin)
Signature: plugin:'TPlugin -> unit
Modifiers: abstract |
Try to not use this member, because if you do its your responsibility that the plugin is initialized with the proper service instances! Use the generic version of this method instead to get automatic service resolution! |