Info
Version: | 3.0.1 |
Author(s): | Romans Pokrovskis |
Last Update: | Thursday, December 27, 2018 |
.NET Fiddle: | Create the first Fiddle |
Project Url: | https://github.com/Amoenus.NiceEnumDescription |
NuGet Url: | https://www.nuget.org/packages/Amoenus.NiceEnumDescription |
Install
Install-Package Amoenus.NiceEnumDescription
dotnet add package Amoenus.NiceEnumDescription
paket add Amoenus.NiceEnumDescription
Amoenus.NiceEnumDescription Download (Unzip the "nupkg" after downloading)
Dependencies
.NETCoreApp 1.0
- Microsoft.NETCore.App(>= 1.0.5)
No dependencies.
No dependencies.
- NETStandard.Library(>= 1.6.1)
- NETStandard.Library(>= 1.6.1)
- NETStandard.Library(>= 1.6.1)
- NETStandard.Library(>= 1.6.1)
No dependencies.
No dependencies.
No dependencies.
No dependencies.
No dependencies.
No dependencies.
No dependencies.
- Microsoft.NETCore.App(>= 1.1.2)
No dependencies.
- NETStandard.Library(>= 1.6.1)
- NETStandard.Library(>= 1.6.1)
- NETStandard.Library(>= 1.6.1)
For example to have an enum in drop-down list but show a nice description for each value to the user.
Added GetEnumDescriptionDictionary that will return a dictionary of every enum as a key, and description as value:
Suggested Use in WPF : https://gist.github.com/Amoenus/56a4c286d3f6898b1f34ccf6da6576be.