Method GetCustomAttributes
GetCustomAttributes<T>(MemberInfo, bool)
A generic version of GetCustomAttributes(Type, bool).
public static IEnumerable<T> GetCustomAttributes<T>(this MemberInfo member, bool inherit = true)
Parameters
member
MemberInfoinherit
bool
Returns
- IEnumerable<T>
Type Parameters
T