QuickEnumStrings 1.0.0-preview
This is a prerelease version of QuickEnumStrings.
There is a newer prerelease version of this package available.
See the version list below for details.
See the version list below for details.
Requires NuGet 4.9.0 or higher.
dotnet add package QuickEnumStrings --version 1.0.0-preview
NuGet\Install-Package QuickEnumStrings -Version 1.0.0-preview
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="QuickEnumStrings" Version="1.0.0-preview" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add QuickEnumStrings --version 1.0.0-preview
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: QuickEnumStrings, 1.0.0-preview"
#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 QuickEnumStrings as a Cake Addin #addin nuget:?package=QuickEnumStrings&version=1.0.0-preview&prerelease // Install QuickEnumStrings as a Cake Tool #tool nuget:?package=QuickEnumStrings&version=1.0.0-preview&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Quick Enum Strings
This library was created due to a call to action in Nick Chapsas' (@Elfocrash) video on enum performance.
As detailed in the video, this library uses a source generator to generate an extension method that will convert any non-flag enum into a string with zero memory allocation. Mark your enum declaration with [QuickEnum]
to generate the method.
There are no supported framework assets in this package.
Learn more about Target Frameworks and .NET Standard.
-
- Microsoft.CodeAnalysis.Analyzers (>= 3.3.3)
- Microsoft.CodeAnalysis.CSharp (>= 4.0.1)
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 |
---|---|---|
1.0.1-preview | 116 | 5/30/2022 |
1.0.0-preview | 108 | 5/29/2022 |