ResultCore.J
0.6.0
dotnet add package ResultCore.J --version 0.6.0
NuGet\Install-Package ResultCore.J -Version 0.6.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="ResultCore.J" Version="0.6.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ResultCore.J" Version="0.6.0" />
<PackageReference Include="ResultCore.J" />
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 ResultCore.J --version 0.6.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ResultCore.J, 0.6.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 ResultCore.J@0.6.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=ResultCore.J&version=0.6.0
#tool nuget:?package=ResultCore.J&version=0.6.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Result
Result is a lightweight library designed to simplify error handling in C# applications. It provides a structured way to represent success and failure states without relying on exceptions for control flow.
- The Error Model see
BaseError. - More information can be found in the tests located in the
ResultCore.Testsproject.
About Benchmarks
BenchmarkDotNet.Aritfacts.2025-11-13_23-36-33Z
Result<MyClass, BaseError>大小为 40 byte。Result<MyClass, FileError>大小为 16 byte。- 调用
list.Add()
BenchmarkDotNet.Aritfacts.2025-11-14_01-57-33Z
Result<MyClass, BaseError>大小为 40 byte。Result<MyClass, FileError>大小为 32 byte。- 调用
list.Add()
BenchmarkDotNet.Aritfacts.2025-11-15_13-23-49Z
Result<MyClass, BaseError>大小为 40 byte。Result<MyClass, FileError>大小为 32 byte。- 不调用
list.Add()
BenchmarkDotNet.Aritfacts.2025-11-15_15-18-51Z
Result<MyClass, BaseError>大小为 40 byte。Result<MyClass, FileError>大小为 32 byte。- 不调用
list.Add(),不创建 list
BenchmarkDotNet.Aritfacts.2025-11-16_16-55-59Z
Result<MyClass, BaseError>大小为 40 byte。Result<MyClass, FileError>大小为 32 byte。- 不调用
list.Add(),不创建 list - 输出 Inline
| 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.6.0 | 118 | 7/1/2026 |
| 0.5.2 | 103 | 6/10/2026 |
| 0.5.1 | 102 | 5/30/2026 |
| 0.5.0 | 104 | 5/23/2026 |
| 0.4.7 | 296 | 12/16/2025 |
| 0.4.5 | 205 | 11/23/2025 |
| 0.4.4 | 416 | 11/18/2025 |
| 0.4.3 | 403 | 11/17/2025 |
| 0.4.2 | 408 | 11/17/2025 |
| 0.4.1 | 243 | 11/16/2025 |
| 0.4.0 | 244 | 11/16/2025 |
| 0.3.2 | 248 | 11/16/2025 |
| 0.3.1 | 294 | 11/13/2025 |
| 0.3.0 | 224 | 11/9/2025 |
| 0.2.0 | 184 | 2/21/2025 |
| 0.1.1 | 210 | 3/29/2024 |
| 0.1.0 | 178 | 3/29/2024 |