CustomAttribute
Contains static methods for retrieving custom attributes.
public static bool IsDefined<A>(this ICustomAttributeProvider member, bool inherit = false) where A : Attribute
Indicates whether one or more attributes of the specified type or of its derived types is applied to the member.