Lyn.IntelliEnum
0.0.3
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Lyn.IntelliEnum --version 0.0.3
NuGet\Install-Package Lyn.IntelliEnum -Version 0.0.3
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Lyn.IntelliEnum" Version="0.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Lyn.IntelliEnum --version 0.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Lyn.IntelliEnum, 0.0.3"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Lyn.IntelliEnum as a Cake Addin #addin nuget:?package=Lyn.IntelliEnum&version=0.0.3 // Install Lyn.IntelliEnum as a Cake Tool #tool nuget:?package=Lyn.IntelliEnum&version=0.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
IntelliEnum
Lyn.IntelliEnum is C# language useful enum helper method collection.
Install via NuGet
Install-Package Lyn.IntelliEnum
Changes
v0.0.1 ~ v0.0.3 (12/22/2019)
Enhancements
- Add GetDescriptionStrings Method
- Add GetDescriptionStringMap Method
- Add GetEnumValueFromDescription Method
- Add GetDescription Method
Lyn.IntelliEnum Demo
using Lyn.IntelliEnum;
using cm = System.ComponentModel;
namespace Lyn.IntelliEnum
{
public enum TestEnum
{
[cm.Description("Value Test 01")]
Value01 = 1,
[cm.Description("Value Test 02")]
Value02 = 2,
}
public class IntelliEnumTest
{
public void TestGetDescriptionStrings()
{
var testEnumStrings = IntelliEnum.IntelliEnum.GetDescriptionStrings<TestEnum>();
}
public void TestGetDescriptionStringMap()
{
var testEnumDict = IntelliEnum.IntelliEnum.GetDescriptionStringMap<TestEnum>();
}
}
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.1 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 3.1
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.