Enums.NET icon indicating copy to clipboard operation
Enums.NET copied to clipboard

EnumFormat for [Display(Description="foo")]

Open jeremysalwen opened this issue 10 months ago • 2 comments

It seems like there isn't an EnumsFormat for the DisplayAttribute.Description field, which is used by razor/Blazor. Could we have an option for this?

jeremysalwen avatar Mar 28 '25 00:03 jeremysalwen

I think that makes sense. Let me look into it unless you want to submit a PR?

TylerBrinkley avatar Mar 31 '25 22:03 TylerBrinkley

Due to the question of copyright with my employer it would be easier for you to do it. Much appreciated (and thanks for the very useful library otherwise!)

jeremysalwen avatar Mar 31 '25 22:03 jeremysalwen