PostSharp6.3/API Reference/Post­Sharp.​Reflection Namespace/Reflection­Search Class/Reflection­Search Methods/Reflection­Search.​Get­Custom­Attributes­On­Target Method

ReflectionSearch.GetCustomAttributesOnTarget Method

Overload List
  NameDescription
Public methodStatic memberGetCustomAttributesOnTarget(Object)
Gets all custom attributes on a given element of code, including those who have been added indirectly, for instance through MulticastAttribute.
Public methodStatic memberGetCustomAttributesOnTarget(Object, ReflectionSearchOptions)
Gets all custom attributes on a given element of code, including those who have been added indirectly, for instance through MulticastAttribute and specifies additional options.
Public methodStatic memberGetCustomAttributesOnTarget<T>(Object, ReflectionSearchOptions)
Gets all custom attributes of a given type on a given element of code, including those who have been added indirectly, for instance through MulticastAttribute and specifies additional options.
See Also