ModResults 1.0.0

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

ModResults

Result Pattern that provides a structured way to represent success or failure with optional details, enhancing readability and maintainability in codebases and designed to be used either in-process or over the network.

It is robust, leveraging nullability annotations, immutability (init properties), and factory methods for clarity.

Contains Result and Result<TValue> implementations with a default Failure implementation which are ready to be used out of the box.

Also contains a Result<TValue, TFailure> implementation, but this requires further development for a custom failure class at least.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

    • No dependencies.
  • net8.0

    • No dependencies.
  • net9.0

    • No dependencies.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on ModResults:

Package Downloads
ModEndpoints.RemoteServices

Contains ServiceEndpoint client implementation along with extensions required for its registration.

ModResults.MinimalApis

Methods to convert Result structures to minimal apis' IResult success/problem responses.

ModResults.FluentValidation

Conversions between FluentValidation library and Result objects.

ModResults.Orleans

Necessary serialization surrogates and converters of Result types for Microsoft Orleans projects.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0 183 2/20/2025
0.4.2 164 2/12/2025
0.4.1 131 2/4/2025
0.4.0 134 2/3/2025
0.3.2 135 1/29/2025
0.3.1 137 1/21/2025
0.3.0 138 1/20/2025
0.2.2 126 1/16/2025
0.2.1 114 1/16/2025
0.2.0 264 12/27/2024
0.1.3 156 12/22/2024
0.1.2 138 12/20/2024
0.1.1 125 12/19/2024