InjectionTargetInfo Methods

Simple Injector

The InjectionTargetInfo type exposes the following members.

Methods

  NameDescription
Public methodGetCustomAttribute(Type)
Retrieves a custom attribute of a specified type that is applied to a specified parameter.
Public methodGetCustomAttribute(Type, Boolean)
Retrieves a custom attribute of a specified type that is applied to a specified parameter, and optionally inspects the ancestors of that parameter.
Public methodGetCustomAttributeT
Retrieves a custom attribute of a specified type that is applied to a specified parameter.
Public methodGetCustomAttributeT(Boolean)
Retrieves a custom attribute of a specified type that is applied to a specified parameter, and optionally inspects the ancestors of that parameter.
Public methodGetCustomAttributes(Boolean)
Returns an array of all of the custom attributes defined on either the Parameter or the Property, excluding named attributes, or an empty array if there are no custom attributes.
Public methodGetCustomAttributes(Type, Boolean)
Returns an array of custom attributes defined on either the Parameter or the Property, identified by type, or an empty array if there are no custom attributes of that type.
Public methodGetCustomAttributesT
Retrieves a collection of custom attributes of a specified type that are applied to a specified parameter.
Public methodGetCustomAttributesT(Boolean)
Retrieves a collection of custom attributes of a specified type that are applied to a specified parameter, and optionally inspects the ancestors of that parameter.
Public methodIsDefined
Indicates whether one or more instance of attributeType is defined on this either the Parameter or the Property.
Top
See Also

Reference