using System.ComponentModel.DataAnnotations; namespace StabilityMatrix.Avalonia.Converters; internal static class EnumAttributeConverters { public static EnumAttributeConverter Display => new(); public static EnumAttributeConverter DisplayName => new(attribute => attribute.Name); public static EnumAttributeConverter DisplayDescription => new(attribute => attribute.Description); }