ContainerOptionsResolveUnregisteredCollections Property

Simple Injector

Note: This API is now obsolete.

Gets or sets a value indicating whether. This method is deprecated. Changing its value will have no effect.

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

[ObsoleteAttribute("ResolveUnregisteredCollections has been deprecated. Please register collections explicitly instead.", 
	true)]
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public bool ResolveUnregisteredCollections { get; set; }

Property Value

Type: Boolean
The value indicating whether the container will return an empty collection.
See Also

Reference