ContainerOptionsDependencyInjectionBehavior Property

Simple Injector
Gets or sets the dependency injection behavior.

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

public IDependencyInjectionBehavior DependencyInjectionBehavior { get; set; }

Property Value

Type: IDependencyInjectionBehavior
The constructor injection behavior.
Exceptions

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

Reference