DotNetCore.Results 19.7.0

dotnet add package DotNetCore.Results --version 19.7.0                
NuGet\Install-Package DotNetCore.Results -Version 19.7.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="DotNetCore.Results" Version="19.7.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DotNetCore.Results --version 19.7.0                
#r "nuget: DotNetCore.Results, 19.7.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.
// Install DotNetCore.Results as a Cake Addin
#addin nuget:?package=DotNetCore.Results&version=19.7.0

// Install DotNetCore.Results as a Cake Tool
#tool nuget:?package=DotNetCore.Results&version=19.7.0                

DotNetCore.Results

Result

public record Result(HttpStatusCode Status)
{
    public Result(HttpStatusCode status, string message) { }

    public string Message { get; }

    public bool HasMessage { }

    public Result<T> Convert<T>() { }
}

Result<T>

public sealed record Result<T> : Result
{
    public Result(HttpStatusCode status) { }

    public Result(HttpStatusCode status, T value) { }

    public Result(HttpStatusCode status, string message) { }

    public T Value { get; }

    public bool HasValue { }

    public Result Convert() { }
}
Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible. 
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 DotNetCore.Results:

Package Downloads
DotNetCore.AspNetCore

DotNetCore.AspNetCore

DotNetCore.Mediator

DotNetCore.Mediator

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
19.7.0 198 11/30/2024