Soenneker.Enums.InitializationModes
11.0.77
Prefix Reserved
dotnet add package Soenneker.Enums.InitializationModes --version 11.0.77
NuGet\Install-Package Soenneker.Enums.InitializationModes -Version 11.0.77
<PackageReference Include="Soenneker.Enums.InitializationModes" Version="11.0.77" />
<PackageVersion Include="Soenneker.Enums.InitializationModes" Version="11.0.77" />
<PackageReference Include="Soenneker.Enums.InitializationModes" />
paket add Soenneker.Enums.InitializationModes --version 11.0.77
#r "nuget: Soenneker.Enums.InitializationModes, 11.0.77"
#:package Soenneker.Enums.InitializationModes@11.0.77
#addin nuget:?package=Soenneker.Enums.InitializationModes&version=11.0.77
#tool nuget:?package=Soenneker.Enums.InitializationModes&version=11.0.77
Soenneker.Enums.InitializationModes
A string-backed enum-value type for selecting an initializer signature by execution style and accepted arguments.
Install
dotnet add package Soenneker.Enums.InitializationModes
Usage
using Soenneker.Enums.InitializationModes;
InitializationMode mode = InitializationMode.AsyncKeyToken;
string wireValue = mode.Value; // "AsyncKeyToken"
if (InitializationMode.TryFromValue(input, out InitializationMode? parsed))
{
// Select the initializer signature represented by parsed
}
| Value | Async | Key | Cancellation token |
|---|---|---|---|
Async |
Yes | No | No |
AsyncKey |
Yes | Yes | No |
AsyncKeyToken |
Yes | Yes | Yes |
Sync |
No | No | No |
SyncKey |
No | Yes | No |
SyncKeyToken |
No | Yes | Yes |
System.Text.Json serializes the type as the shown string value. FromValue throws for unknown input; use TryFromValue at configuration or request boundaries. FromName and TryFromName are also generated.
This package describes an initialization shape; it does not invoke an initializer, store a key, create a cancellation token, or enforce cancellation. The consuming component defines the key type and the exact semantics of each mode.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- Soenneker.Gen.EnumValues (>= 11.0.68)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Soenneker.Enums.InitializationModes:
| Package | Downloads |
|---|---|
|
Soenneker.Dictionaries.SingletonKeys
An externally initializing singleton dictionary that uses double-check asynchronous locking, with optional async and sync disposal |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 11.0.77 | 77 | 11/19/2026 |
| 11.0.76 | 68 | 11/18/2026 |
| 11.0.75 | 27,157 | 11/18/2026 |
| 11.0.74 | 34,878 | 11/14/2026 |
| 11.0.73 | 18,237 | 11/11/2026 |
| 11.0.72 | 94 | 11/11/2026 |
| 11.0.71 | 144,841 | 10/26/2026 |
| 11.0.70 | 115 | 10/26/2026 |
| 4.0.69 | 63,296 | 10/15/2026 |
| 4.0.68 | 125 | 10/14/2026 |
| 4.0.67 | 116 | 10/14/2026 |
| 4.0.66 | 348 | 10/14/2026 |
| 4.0.65 | 1,657 | 10/14/2026 |
| 4.0.60 | 9,141 | 10/13/2026 |
| 4.0.59 | 122 | 10/12/2026 |
| 4.0.57 | 8,542 | 10/12/2026 |
| 4.0.55 | 24,315 | 10/11/2026 |
| 4.0.54 | 87,040 | 9/30/2026 |
| 4.0.53 | 42,042 | 9/25/2026 |
| 4.0.52 | 118 | 9/24/2026 |
Updated Multiple NuGet packages