ResultCore.J 0.5.1

dotnet add package ResultCore.J --version 0.5.1
                    
NuGet\Install-Package ResultCore.J -Version 0.5.1
                    
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.5.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ResultCore.J" Version="0.5.1" />
                    
Directory.Packages.props
<PackageReference Include="ResultCore.J" />
                    
Project file
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.5.1
                    
#r "nuget: ResultCore.J, 0.5.1"
                    
#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.5.1
                    
#: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.5.1
                    
Install as a Cake Addin
#tool nuget:?package=ResultCore.J&version=0.5.1
                    
Install as a Cake Tool

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.

  1. The Error Model see BaseError.
  2. More information can be found in the tests located in the ResultCore.Tests project.

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 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

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.5.1 89 5/30/2026
0.5.0 95 5/23/2026
0.4.7 286 12/16/2025
0.4.5 198 11/23/2025
0.4.4 408 11/18/2025
0.4.3 394 11/17/2025
0.4.2 399 11/17/2025
0.4.1 233 11/16/2025
0.4.0 235 11/16/2025
0.3.2 239 11/16/2025
0.3.1 286 11/13/2025
0.3.0 215 11/9/2025
0.2.0 176 2/21/2025
0.1.1 203 3/29/2024
0.1.0 172 3/29/2024