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: 4.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 consumer.
Public methodVerify
Verifies the specified consumer.
Top
Extension Methods

  NameDescription
Public Extension MethodBuildExpression
This interface method has been removed. Please call GetInstanceProducerFor instead.
(Defined by BehaviorDeprecationExtensions.)
Top
See Also

Reference