InjectionConsumerInfo Class

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

SystemObject
  SimpleInjector.AdvancedApiObject
    SimpleInjectorInjectionConsumerInfo

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

public class InjectionConsumerInfo : ApiObject, 
	IEquatable<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 methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Overrides ApiObjectEquals(Object).)
Public methodEquals(InjectionConsumerInfo)
Indicates whether the current object is equal to another object of the same type.
Public methodGetHashCode
Serves as the default hash function.
(Overrides ApiObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from ApiObject.)
Public methodToString
Returns a string that represents the current object.
(Overrides ApiObjectToString.)
Top
See Also

Reference