SimpleInjectorWebApiExtensions Methods

Simple Injector

The SimpleInjectorWebApiExtensions type exposes the following members.

Methods

  NameDescription
Public methodStatic memberEnableHttpRequestMessageTracking
Makes the current HttpRequestMessage resolvable by calling GetCurrentHttpRequestMessage.
Public methodStatic memberGetCurrentHttpRequestMessage
Retrieves the HttpRequestMessage instance for the current request.
Public methodStatic memberRegisterWebApiControllers(Container, HttpConfiguration)
Registers the Web API IHttpController types that available for the application. This method uses the configured IAssembliesResolver and IHttpControllerTypeResolver to determine which controller types to register.
Public methodStatic memberRegisterWebApiControllers(Container, HttpConfiguration, IEnumerableAssembly)
Registers the Web API IHttpController types that available for the application. This method uses the configured IHttpControllerTypeResolver to determine which controller types to register.
Public methodStatic memberRegisterWebApiControllers(Container, HttpConfiguration, Assembly)
Registers the Web API IHttpController types that available for the application. This method uses the configured IHttpControllerTypeResolver to determine which controller types to register.
Top
See Also

Reference