Interface IPlugInModule
- Namespace
- Acuit.Pinpoint.Modularity
- Assembly
- Acuit.Pinpoint.Modularity.Abstractions.dll
An Acuit Pinpoint plug-in module.
public interface IPlugInModule
Remarks
The type implementing this interface can optionally also implement IDisposable to perform cleanup.
Plug-in initialization can also be performed via IInitializePlugIn services added during service configuration in ConfigureServices(IServiceCollection, PlugInHostContext).
See Acuit Pinpoint Plug-ins for more information.
Methods
ConfigureServices(IServiceCollection, PlugInHostContext)
Configures services for the plug-in module.
void ConfigureServices(IServiceCollection services, PlugInHostContext hostContext)
Parameters
servicesIServiceCollectionThe service collection. This service collection is isolated to this plug-in module and whatever other plug-in modules are contained within assemblies located within the same directory.
hostContextPlugInHostContextContext about the host environment for the plug-in module.
Initialize(IServiceProvider, PlugInHostContext)
Initializes the plug-in module.
void Initialize(IServiceProvider serviceProvider, PlugInHostContext hostContext)
Parameters
serviceProviderIServiceProviderThe service provider for the plug-in module.
hostContextPlugInHostContextContext about the host environment for the plug-in module.