WebApiRequestLifestyle Constructor

Simple Injector
Initializes a new instance of the WebApiRequestLifestyle class. The created and cached instance will be disposed when the Web API request ends, and when the created object implements IDisposable.

Namespace:  SimpleInjector.Integration.WebApi
Assembly:  SimpleInjector.Integration.WebApi (in SimpleInjector.Integration.WebApi.dll) Version: 4.0.0
Syntax

public WebApiRequestLifestyle()
See Also

Reference