Library to allow conversion between an Enum Value and a string, in both directions.
See the version list below for details.
Install-Package EnumStringValues -Version 2.0.0
dotnet add package EnumStringValues --version 2.0.0
<PackageReference Include="EnumStringValues" Version="2.0.0" />
paket add EnumStringValues --version 2.0.0
- Make the library use the existing Enum name as its default string value
- Exposed the Parse methods as extensions on `String` and `List<string>`
- Added a clone of the basic Parse method renamed as `ParseToEnum<T>`
- NOTE: The old parse method (`ParseStringValueToEnum`) is now deprecated and will be removed in vNext. ParseToEnum is identical and should be used instead.
This package has no dependencies.
This package is not used by any popular GitHub repositories.