Selects the lifestyle based on the supplied type information.
Namespace: SimpleInjector.Advanced
Assembly: SimpleInjector (in SimpleInjector.dll) Version: 5.3.0
Syntax
Parameters
- implementationType
- Type: SystemType
Type of the implementation to that is registered.
Return Value
Type: LifestyleThe suited Lifestyle for the given type.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | Thrown when either one of the arguments is a null reference. |
See Also