AspNetRequestLifestyle Constructor

Simple Injector
Initializes a new instance of the AspNetRequestLifestyle 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.AspNetCore
Assembly:  SimpleInjector.Integration.AspNetCore (in SimpleInjector.Integration.AspNetCore.dll) Version: 4.10.3
Syntax

public AspNetRequestLifestyle()
See Also

Reference