Initializes a new instance of the Lifestyle class.
Namespace: SimpleInjector
Assembly: SimpleInjector (in SimpleInjector.dll) Version: 5.3.0
Syntax
Parameters
- name
- Type: SystemString
The user friendly name of this lifestyle.
Exceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when name is null or an empty string. |
See Also