Intellenum 1.0.6
dotnet add package Intellenum --version 1.0.6
NuGet\Install-Package Intellenum -Version 1.0.6
<PackageReference Include="Intellenum" Version="1.0.6" />
paket add Intellenum --version 1.0.6
#r "nuget: Intellenum, 1.0.6"
// Install Intellenum as a Cake Addin #addin nuget:?package=Intellenum&version=1.0.6 // Install Intellenum as a Cake Tool #tool nuget:?package=Intellenum&version=1.0.6
Intellenum - Intelligent Enum Generator
What is the package?
This is a Source Generator to generate intelligent enums.
The main goal is that the intelligent enums have almost the same speed and memory performance as using primitive enums and have much faster lookups.
[Intellenum<int>]
[Member("One", 1)]
public partial struct Numbers
{
}
You can now lookup names and values in a performant way.
You can also declare instances in different ways, e.g.
[Intellenum]
public partial class CustomerType
{
static CustomerType()
{
Member("Standard", 1);
Member("Gold", 2);
}
}
To see if an enum contains a name, use IsNameDefined
, or to try to get the named instances, use TryFromName
.
The same methods exist for values.
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 is compatible. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- No dependencies.
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Intellenum:
Package | Downloads |
---|---|
Soenneker.Blazor.TomSelect
A Blazor interop library for the select user control library, Tom Select |
|
Soenneker.Blazor.FilePond
A Blazor interop library for the file upload library FilePond |
|
Soenneker.Blazor.Turnstile
A Blazor interop library for Cloudflare Turnstile |
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on Intellenum:
Repository | Stars |
---|---|
tpill90/steam-lancache-prefill
CLI tool to automatically prime a Lancache with Steam games
|
|
SteveDunn/Intellenum
Intelligent Enums
|
Version | Downloads | Last updated |
---|---|---|
1.0.6 | 2,803 | 9/12/2024 |
1.0.4 | 624 | 8/14/2024 |
1.0.3 | 1,660 | 7/16/2024 |
1.0.2 | 107 | 7/13/2024 |
1.0.1 | 501 | 6/24/2024 |
1.0.0-beta.4 | 701 | 6/2/2024 |
1.0.0-beta.3 | 9,020 | 4/12/2023 |
1.0.0-beta.2 | 103 | 4/11/2023 |
1.0.0-beta.1 | 104 | 4/10/2023 |
0.0.1-alpha.5 | 122 | 4/4/2023 |
0.0.1-alpha.4 | 113 | 3/17/2023 |
0.0.1-alpha.3 | 109 | 3/16/2023 |
0.0.1-alpha.2 | 95 | 3/15/2023 |
0.0.1-alpha.1 | 106 | 3/12/2023 |