WebRequestLifestyle Constructor

Simple Injector
Initializes a new instance of the WebRequestLifestyle class. The instance will ensure that created and cached instance will be disposed after the execution of the web request ended and when the created object implements IDisposable.

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

public WebRequestLifestyle()
See Also

Reference