ResultKits 0.3.0
dotnet add package ResultKits --version 0.3.0
NuGet\Install-Package ResultKits -Version 0.3.0
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="ResultKits" Version="0.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ResultKits" Version="0.3.0" />
<PackageReference Include="ResultKits" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ResultKits --version 0.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ResultKits, 0.3.0"
#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.
#:package ResultKits@0.3.0
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ResultKits&version=0.3.0
#tool nuget:?package=ResultKits&version=0.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
ResultKits
(This file is AI generated.)
Core abstractions and primitives for standardized operation results.
Scope
- Defines
IResultandResultStatusfor success and error categories. - Provides simple records:
SuccessResult,ErrorResult,ValueSuccessResult<T>. - Factory helpers via
Result(e.g.,Result.Error(...),Result.NoContent,Result.ValueSuccess(value)). - Error metadata primitives:
ErrorContext,NamedError,ErrorExceptionMeta. - Extensions for quick checks and async wrapping.
Behavior
- Success statuses map to 2xx; error statuses map to 4xx/5xx (+ a few library codes).
- Factories validate status ranges at runtime to prevent misuse.
ErrorExceptioncan be thrown and converted toErrorResultwith rich metadata.
See also
- ResultKits.Results: batteries-included typed results and builders.
- ResultKits.AspNetCore: ASP.NET Core integrations.
(This file is AI generated.)
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net9.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on ResultKits:
| Package | Downloads |
|---|---|
|
ResultKits.Results
Result utilities for CQRS processess, mainly for web APIs. |
|
|
ResultKits.AspNetCore
Asp utilities for Results and CQRS processess, mainly for web APIs. |
GitHub repositories
This package is not used by any popular GitHub repositories.
View `CHANGELOG.MD`