SimpleInjectorUseOptionsAspNetCoreExtensions Methods

Simple Injector

The SimpleInjectorUseOptionsAspNetCoreExtensions type exposes the following members.


Public methodStatic memberUseMiddlewareTMiddleware
Adds a middleware type to the application's request pipeline. The middleware will be resolved from Simple Injector. The middleware will be added to the container for verification.
Public methodStatic memberUseSimpleInjector
Finalizes the configuration of Simple Injector on top of IServiceCollection. Will ensure framework components can be injected into Simple Injector-resolved components, unless AutoCrossWireFrameworkComponents is set to false using the setupAction.
See Also