Lyn.IntelliEnum 0.0.4

dotnet add package Lyn.IntelliEnum --version 0.0.4
NuGet\Install-Package Lyn.IntelliEnum -Version 0.0.4
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.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Lyn.IntelliEnum --version 0.0.4
#r "nuget: Lyn.IntelliEnum, 0.0.4"
#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.4

// Install Lyn.IntelliEnum as a Cake Tool
#tool nuget:?package=Lyn.IntelliEnum&version=0.0.4

IntelliEnum

Lyn.IntelliEnum is C# language useful enum helper method collection.

Install via NuGet


Install-Package Lyn.IntelliEnum

Changes

v0.0.4 (12/23/2019)

Enhancements

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 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.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.0.4 470 12/22/2019
0.0.3 412 12/22/2019
0.0.2 405 12/22/2019
0.0.1 430 12/22/2019