ContainerOptionsSuppressLifestyleMismatchVerification Property

Simple Injector
Gets or sets a value indicating whether the container should suppress checking for lifestyle mismatches (see: https://simpleinjector.org/dialm) when a component is resolved. The default is false. This setting will have no effect when EnableAutoVerification is true.

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

public bool SuppressLifestyleMismatchVerification { get; set; }

Property Value

Type: Boolean
The value indicating whether the container should suppress checking for lifestyle mismatches.
See Also

Reference