ContainerOptionsPropertySelectionBehavior Property

Simple Injector
Gets or sets the property selection behavior. The container's default behavior is to do no property injection.

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

public IPropertySelectionBehavior PropertySelectionBehavior { get; set; }

Property Value

Type: IPropertySelectionBehavior
The property selection behavior.
Exceptions

ExceptionCondition
NullReferenceExceptionThrown when the supplied value is a null reference.
InvalidOperationException Thrown when the container already contains registrations.
See Also

Reference