ScopedLifestyle Constructor

Simple Injector
Initializes a new instance of the ScopedLifestyle class.

Namespace:  SimpleInjector
Assembly:  SimpleInjector (in SimpleInjector.dll) Version: 5.3.0
Syntax

protected ScopedLifestyle(
	string name
)

Parameters

name
Type: SystemString
The user friendly name of this lifestyle.
Exceptions

ExceptionCondition
ArgumentExceptionThrown when name is null or an empty string.
See Also

Reference