You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If an enum is annotated with a descendants of DescriptionAttribute that annotation doesn't get honoured by EnumHumanizeExtensions.Humanize, IOW, it gets ignored.
The fix is now released to NuGet as v1.14.1. Basically ANY attribute on an enum member with a string Description property is honored. This way you can use a subclass of DescriptionAttribute or create a completely custom attribute with a public Description property.
If an enum is annotated with a descendants of DescriptionAttribute that annotation doesn't get honoured by EnumHumanizeExtensions.Humanize, IOW, it gets ignored.
Example of a DescriptionAttribute descendant:
http://www.codeproject.com/Articles/29495/Binding-and-Using-Friendly-Enums-in-WPF
The text was updated successfully, but these errors were encountered: