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
Alpha release. Beware: this might change a lot.
- Ether.Outcomes (>= 2.6.0-alpha)
This package is not used by any popular GitHub repositories.