Soenneker.Enums.InitializationModes
4.0.48
Prefix Reserved
See the version list below for details.
dotnet add package Soenneker.Enums.InitializationModes --version 4.0.48
NuGet\Install-Package Soenneker.Enums.InitializationModes -Version 4.0.48
<PackageReference Include="Soenneker.Enums.InitializationModes" Version="4.0.48" />
<PackageVersion Include="Soenneker.Enums.InitializationModes" Version="4.0.48" />
<PackageReference Include="Soenneker.Enums.InitializationModes" />
paket add Soenneker.Enums.InitializationModes --version 4.0.48
#r "nuget: Soenneker.Enums.InitializationModes, 4.0.48"
#:package Soenneker.Enums.InitializationModes@4.0.48
#addin nuget:?package=Soenneker.Enums.InitializationModes&version=4.0.48
#tool nuget:?package=Soenneker.Enums.InitializationModes&version=4.0.48
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.48)
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.51 | 3,900 | 9/15/2026 |
| 4.0.50 | 59 | 9/15/2026 |
| 4.0.49 | 49,731 | 9/12/2026 |
| 4.0.48 | 83 | 9/12/2026 |
| 4.0.47 | 77,305 | 9/7/2026 |
| 4.0.46 | 47,253 | 9/4/2026 |
| 4.0.45 | 97,860 | 8/30/2026 |
| 4.0.44 | 103 | 8/30/2026 |
| 4.0.43 | 103 | 8/30/2026 |
| 4.0.42 | 98 | 8/29/2026 |
| 4.0.41 | 129,161 | 8/21/2026 |
| 4.0.40 | 30,239 | 8/18/2026 |
| 4.0.39 | 103 | 8/18/2026 |
| 4.0.38 | 106,207 | 8/7/2026 |
| 4.0.37 | 100 | 8/7/2026 |
| 4.0.36 | 29,736 | 7/28/2026 |
| 4.0.35 | 21,321 | 7/28/2026 |
| 4.0.34 | 101,918 | 7/16/2026 |
| 4.0.33 | 120 | 7/16/2026 |
| 4.0.32 | 132,813 | 7/3/2026 |
Use NuGet trusted publishing in publishing workflows