Lifestyle Constructor

Simple Injector
Initializes a new instance of the Lifestyle class.

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

protected Lifestyle(
	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