EnumStringValues 2.0.0
Advisory: https://github.com/advisories/GHSA-vq23-hwg7-hxrh | Severity: low |
See the version list below for details.
dotnet add package EnumStringValues --version 2.0.0
NuGet\Install-Package EnumStringValues -Version 2.0.0
<PackageReference Include="EnumStringValues" Version="2.0.0" />
paket add EnumStringValues --version 2.0.0
#r "nuget: EnumStringValues, 2.0.0"
// Install EnumStringValues as a Cake Addin #addin nuget:?package=EnumStringValues&version=2.0.0 // Install EnumStringValues as a Cake Tool #tool nuget:?package=EnumStringValues&version=2.0.0
Library to allow conversion between an Enum Value and a string, in both directions.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net35 is compatible. net40 is compatible. net403 was computed. net45 was computed. net451 is compatible. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
This package has no dependencies.
NuGet packages (3)
Showing the top 3 NuGet packages that depend on EnumStringValues:
Package | Downloads |
---|---|
SanNuo.ERP.WebApis.Domain.Common
Package Description |
|
IntisTelecom
UK Intis Telecom LTD Company number 11767499 100 New Bond Street First Floor, London, United Kingdom, W1S 1SP VAT: GB323461428 |
|
HandheldGroup.Scanner
Scanner SDK |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version 2.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.