Soenneker.Enums.InitializationModes
4.0.55
Prefix Reserved
See the version list below for details.
dotnet add package Soenneker.Enums.InitializationModes --version 4.0.55
NuGet\Install-Package Soenneker.Enums.InitializationModes -Version 4.0.55
<PackageReference Include="Soenneker.Enums.InitializationModes" Version="4.0.55" />
<PackageVersion Include="Soenneker.Enums.InitializationModes" Version="4.0.55" />
<PackageReference Include="Soenneker.Enums.InitializationModes" />
paket add Soenneker.Enums.InitializationModes --version 4.0.55
#r "nuget: Soenneker.Enums.InitializationModes, 4.0.55"
#:package Soenneker.Enums.InitializationModes@4.0.55
#addin nuget:?package=Soenneker.Enums.InitializationModes&version=4.0.55
#tool nuget:?package=Soenneker.Enums.InitializationModes&version=4.0.55
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 | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Soenneker.Gen.EnumValues (>= 4.0.53)
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 |
|---|---|---|
| 4.0.60 | 17 | 10/13/2026 |
| 4.0.59 | 57 | 10/12/2026 |
| 4.0.57 | 64 | 10/12/2026 |
| 4.0.55 | 3,457 | 10/11/2026 |
| 4.0.54 | 64,105 | 9/30/2026 |
| 4.0.53 | 41,992 | 9/25/2026 |
| 4.0.52 | 101 | 9/24/2026 |
| 4.0.51 | 56,302 | 9/15/2026 |
| 4.0.50 | 103 | 9/15/2026 |
| 4.0.49 | 66,198 | 9/12/2026 |
| 4.0.48 | 109 | 9/12/2026 |
| 4.0.47 | 79,199 | 9/7/2026 |
| 4.0.46 | 47,273 | 9/4/2026 |
| 4.0.45 | 97,890 | 8/30/2026 |
| 4.0.44 | 123 | 8/30/2026 |
| 4.0.43 | 124 | 8/30/2026 |
| 4.0.42 | 114 | 8/29/2026 |
| 4.0.41 | 129,241 | 8/21/2026 |
| 4.0.40 | 30,252 | 8/18/2026 |
| 4.0.39 | 122 | 8/18/2026 |
Fix release metadata shell injection