IDependencyInjectionBehavior Interface

Simple Injector
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.0.0
Syntax

public interface IDependencyInjectionBehavior

The IDependencyInjectionBehavior type exposes the following members.

Methods

  NameDescription
Public methodGetInstanceProducer
Gets the InstanceProducer for the Target of the supplied dependency.
Public methodVerifyDependency
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.
Top
Extension Methods

  NameDescription
Public Extension MethodVerify
Verifies the specified consumer.
(Defined by DependencyInjectionBehaviorExtensions.)
Top
See Also

Reference