Méthode | Description | |
---|---|---|
GetCustomAttributesExtended ( this target, |
Gets custom attributes which supports MemberInfo and PropertyInfo.
|
|
HasAttribute ( this target, |
Determines if the target has the specified attribute.
|
public static GetCustomAttributesExtended ( this target, |
||
target | this | The |
attributeType | The attribute type. | |
inherit | bool | When true, look up the hierarchy chain for the inherited custom attribute. |
Résultat | IEnumerable |
public static HasAttribute ( this target, |
||
target | this | The |
type | The attribute type. | |
Résultat | bool |