InjectionConsumerInfo Class

Simple Injector
Contains contextual information about the direct consumer for which the given dependency is injected into.
Inheritance Hierarchy

SystemObject
  SimpleInjectorInjectionConsumerInfo

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

public class InjectionConsumerInfo

The InjectionConsumerInfo type exposes the following members.

Constructors

  NameDescription
Public methodInjectionConsumerInfo(ParameterInfo)
Initializes a new instance of the InjectionConsumerInfo class.
Public methodInjectionConsumerInfo(Type, PropertyInfo)
Initializes a new instance of the InjectionConsumerInfo class.
Top
Properties

  NameDescription
Public propertyImplementationType
Gets the implementation type of the consumer of the component that should be created.
Public propertyServiceType Obsolete.
Gets the service type of the consumer of the component that should be created.
Public propertyTarget
Gets the information about the consumer's target in which the dependency is injected. The target can be either a property or a constructor parameter.
Top
Methods

  NameDescription
Public methodToString
Returns a string that represents the InjectionConsumerInfo.
(Overrides ObjectToString.)
Top
See Also

Reference