ThreadScopedLifestyle Constructor

Simple Injector
Initializes a new instance of the ThreadScopedLifestyle class. The created and cached instance will be disposed when the created Scope instance gets disposed and when the created object implements IDisposable.

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

public ThreadScopedLifestyle()
See Also

Reference