hasattribute - eisclimber/ExPresS-XR GitHub Wiki
Method in AttributeHelpers
Checks if a MemberInfo is annotated with the given Attribute.
public static bool HasAttribute<T>(MemberInfo memberInfo)
where T : Attribute;| Name | Description |
|---|---|
System.Reflection.MemberInfo memberInfo |
MemberInfo to be checked. |
| Name | Description |
|---|---|
| T | Attribute to be checked. |
If the member has the Attribute.