Soenneker.Enums.InitializationModes
11.0.79
Prefix Reserved
dotnet add package Soenneker.Enums.InitializationModes --version 11.0.79
NuGet\Install-Package Soenneker.Enums.InitializationModes -Version 11.0.79
<PackageReference Include="Soenneker.Enums.InitializationModes" Version="11.0.79" />
<PackageVersion Include="Soenneker.Enums.InitializationModes" Version="11.0.79" />
<PackageReference Include="Soenneker.Enums.InitializationModes" />
paket add Soenneker.Enums.InitializationModes --version 11.0.79
#r "nuget: Soenneker.Enums.InitializationModes, 11.0.79"
#:package Soenneker.Enums.InitializationModes@11.0.79
#addin nuget:?package=Soenneker.Enums.InitializationModes&version=11.0.79
#tool nuget:?package=Soenneker.Enums.InitializationModes&version=11.0.79
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.69)
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.79 | 0 | 12/1/2026 |
| 11.0.78 | 4,174 | 12/1/2026 |
| 11.0.77 | 26,237 | 11/19/2026 |
| 11.0.76 | 99 | 11/18/2026 |
| 11.0.75 | 48,977 | 11/18/2026 |
| 11.0.74 | 35,243 | 11/14/2026 |
| 11.0.73 | 18,247 | 11/11/2026 |
| 11.0.72 | 104 | 11/11/2026 |
| 11.0.71 | 144,851 | 10/26/2026 |
| 11.0.70 | 123 | 10/26/2026 |
| 4.0.69 | 63,346 | 10/15/2026 |
| 4.0.68 | 132 | 10/14/2026 |
| 4.0.67 | 122 | 10/14/2026 |
| 4.0.66 | 353 | 10/14/2026 |
| 4.0.65 | 1,664 | 10/14/2026 |
| 4.0.60 | 9,148 | 10/13/2026 |
| 4.0.59 | 127 | 10/12/2026 |
| 4.0.57 | 8,548 | 10/12/2026 |
| 4.0.55 | 24,322 | 10/11/2026 |
| 4.0.54 | 87,144 | 9/30/2026 |
Update soenneker/nuget-resilient-publish action to v5 (#276)