Bruno57.ResultPattern.Foundations 1.0.0

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

Bruno57.ResultPattern.Foundations

Streamlined Outcome Management for Contemporary Applications

Summary

Bruno57.ResultPattern.Foundations presents a complete and adaptable structure for managing operation outcomes within your software. Whether you're dealing with basic success or failure scenarios or intricate validation processes, this solution equips you with the necessary tools to implement dependable outcome patterns with ease.

The solution includes

  1. Bruno57.ResultPattern.Foundations NuGet Package

    A fully realized implementation of the result pattern, providing adaptable results for diverse data types, enhancements for FluentAssertions, and thorough validation capabilities. Utilizing this solution empowers developers to streamline their processes, minimize repetitive code, and establish a uniform method for handling outcomes throughout their projects.

By adopting this solution, developers can simplify their workflows, minimize repetitive code, and establish a consistent method for handling results across projects.

Key Capabilities

  • Versatile Outcome Handling: Return results of any type, offering adaptability and broad utility in application workflows.
  • Straightforward Success/Failure Outcomes: Simplify situations where only positive or negative results are required.
  • Validation Integration: Incorporates a specialized ValidationError class and an extension method for FluentAssertions’ ValidationResult to populate validation errors.
  • Adaptable Design: Constructed as a flexible framework, it enables developers to create and implement their own variations of the result pattern to align with specific requirements.

Getting Started

  1. Package Installation:

    Integrate the NuGet package into your project:

    dotnet add package Bruno57.ResultPattern.Foundations
    
  2. Result Definition: Employ the Result classes to consistently define your successful, failed, or validation outcomes across your application.

  3. Validation Implementation: Utilize the ValidationError class and the FluentAssertions extension to manage validation failures clearly and effectively.

Product Compatible and additional computed target framework versions.
.NET 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.  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.

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
1.0.0 110 5/19/2025