Outcome.NET uses generics and a fluent interface to add metadata to your return value. It's a very expressive, clean result wrapper.
Outcome really shines when you're orchestrating complex logic, because the fluent interface makes it easy to roll up messages from multiple methods, and even from unusual sources like exceptions. The resulting code is very clean, and is great way to implement the Notification pattern.
Requires NuGet 2.8.1 or higher.
Install-Package Ether.Outcomes.Composer -Version 0.6.0-alpha
dotnet add package Ether.Outcomes.Composer --version 0.6.0-alpha
<PackageReference Include="Ether.Outcomes.Composer" Version="0.6.0-alpha" />
paket add Ether.Outcomes.Composer --version 0.6.0-alpha
#r "nuget: Ether.Outcomes.Composer, 0.6.0-alpha"
// Install Ether.Outcomes.Composer as a Cake Addin #addin nuget:?package=Ether.Outcomes.Composer&version=0.6.0-alpha&prerelease // Install Ether.Outcomes.Composer as a Cake Tool #tool nuget:?package=Ether.Outcomes.Composer&version=0.6.0-alpha&prerelease
Alpha release. Beware: this might change a lot.
- Ether.Outcomes (>= 2.6.0-alpha)
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.