ContainerOptionsResolveUnregisteredConcreteTypes Property

Simple Injector
Gets or sets a value indicating whether the container should resolve unregistered concrete types. The default value is false. For more information on why resolving unregistered concrete types is disallowed by default, and what possible fixes you can apply, see https://simpleinjector.org/ructd.

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

public bool ResolveUnregisteredConcreteTypes { get; set; }

Property Value

Type: Boolean
The value indicating whether the container should resolve unregistered concrete types.
Exceptions

ExceptionCondition
InvalidOperationException Thrown when this container instance is locked and can not be altered.
See Also

Reference