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
- memberMemberInfo
- inheritbool
Returns
- IEnumerable<T>
Type Parameters
- T