• PluginManagerService

PluginManagerService

Namespace: AspNetCore.PluginManager

Assembly: AspNetCore.PluginManager

Static class containing methods that can be used to configure and initialise the Plugin Manager.

Methods

Initialise() Initialises the PluginManager using default confguration.
Initialise(PluginManager.PluginManagerConfiguration) Initialises the PluginManager using a specific user defined configuration.
Finalise() Finalises the PluginManger, provides an opportunity for the plugins to clean up ready for close down.
Configure(Microsoft.AspNetCore.Builder.IApplicationBuilder) Configures all plugin modules, allowing the modules to setup services for the application.
Configure(Microsoft.AspNetCore.Builder.IApplicationBuilder, Microsoft.AspNetCore.Hosting.IHostingEnvironment) Configure all plugin modules, this method is now deprecated and will be removed in a future release
ConfigureServices(Microsoft.Extensions.DependencyInjection.IServiceCollection) Configures all plugin module services, allowing the modules to add their own services to the application.
UsePlugin(Type) UsePlugin is designed to load plugins that have been statically loaded into the host application specifically nuget packages or project references. If a plugin is required to be initialised prior to other plugins, you can alter the load order by calling UsePlugin prior to calling Initialise.

In This Document