Lyn.IntelliEnum 0.0.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package Lyn.IntelliEnum --version 0.0.2                
NuGet\Install-Package Lyn.IntelliEnum -Version 0.0.2                
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.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Lyn.IntelliEnum --version 0.0.2                
#r "nuget: Lyn.IntelliEnum, 0.0.2"                
#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.2

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

IntelliEnum

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

Changes

v0.0.1 / v0.0.2 (12/22/2019)

Enhancements
  • Add GetDescriptionStrings Method
  • Add GetDescriptionStringMap Method
  • Add GetEnumValueFromDescription 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.
  • .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.

Version Downloads Last updated
0.0.4 477 12/22/2019
0.0.3 418 12/22/2019
0.0.2 412 12/22/2019
0.0.1 436 12/22/2019