<PackageReference Include="Castle.Core" Version="4.2.0" />

AttributesUtil

public static class AttributesUtil
public static T GetAttribute<T>(this Type type) where T : Attribute

public static T GetAttribute<T>(this MemberInfo member) where T : Attribute

public static IEnumerable<T> GetAttributes<T>(this Type type) where T : Attribute

public static IEnumerable<T> GetAttributes<T>(this MemberInfo member) where T : Attribute

public static AttributeUsageAttribute GetAttributeUsage(this Type attributeType)

public static T GetTypeAttribute<T>(this Type type) where T : Attribute

public static T[] GetTypeAttributes<T>(Type type) where T : Attribute

public static Type GetTypeConverter(MemberInfo member)