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.10.2
Syntax

[ObsoleteAttribute("This method is not used any longer. Setting it has no effect. Please register collections explicitly instead. Will be removed in version 5.0.", 
	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