Defines the container's behavior for building an expression tree for an dependency to inject, based on
the information of the consuming type the dependency is injected into.
Set the ConstructorInjectionBehavior
property of the container's Options property to change the default behavior
of the container.
Namespace: SimpleInjector.Advanced
Assembly: SimpleInjector (in SimpleInjector.dll) Version: 5.3.0
Syntax
The IDependencyInjectionBehavior type exposes the following members.
Methods
Name | Description | |
---|---|---|
GetInstanceProducer | ||
VerifyDependency | Verifies whether the dependency can be injected into the given consumer by the container,
based on the supplied type information of both the consumer and the dependency. |
Extension Methods
Name | Description | |
---|---|---|
Verify | Verifies the specified consumer. (Defined by DependencyInjectionBehaviorExtensions.) |
See Also