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.

Namespace:  SimpleInjector
Assembly:  SimpleInjector (in SimpleInjector.dll) Version: 4.0.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