메소드 | 설명 | |
---|---|---|
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. |
리턴 | IEnumerable |
public static HasAttribute ( this target, |
||
target | this | The |
type | The attribute type. | |
리턴 | bool |