CustomAttributeExtensions static class CustomAttributeExtensions Documentation Code public static IEnumerable<T> GetCustomAttributes<T>(this Assembly element) where T : Attribute public static IEnumerable<T> GetCustomAttributes<T>(this MemberInfo element, bool inherit) where T : Attribute public static bool IsDefined(this MemberInfo element, Type attributeType) public static bool IsDefined(this ParameterInfo element, Type attributeType)