The SimpleInjectorGenericHostExtensions type exposes the following members.
Methods
Name | Description | |
---|---|---|
AddHostedServiceTHostedService |
Registers the given THostedService in the Container as Singleton and
adds it to the host's pipeline of hosted services.
| |
UseSimpleInjector(IHost, Container) |
Finalizes the configuration of Simple Injector on top of IHost.
Ensures framework components can be injected into Simple Injector-resolved components, unless
AutoCrossWireFrameworkComponents is set to false.
| |
UseSimpleInjector(IHost, Container, ActionSimpleInjectorUseOptions) |
Finalizes the configuration of Simple Injector on top of IHost.
Ensures framework components can be injected into Simple Injector-resolved components, unless
AutoCrossWireFrameworkComponents is set to false
using the setupAction.
|
See Also