• IPlugin

IPlugin

Namespace: PluginManager.Abstractions

Assembly: PluginManager

This interface should be implemented by each plugin module, without this interface being implemented AspNetCore.PluginManager would not automatically load it when the appliction starts. This class will be called by the Plugin Manager and will provide an opportunity for the plugin to configure its services and application requirements within the MVC application.

Methods

Initialise(PluginManager.Abstractions.ILogger) Notifies the plugin that the plugin module is being initialised.
Finalise() Notifies the plugin module that it is being closed and removed and it should uninitialise any resources that it has used.
ConfigureServices(Microsoft.Extensions.DependencyInjection.IServiceCollection) Provides the plugin module with an opportunity to register any services that it provides.

In This Document