Outcome.NET uses generics and a fluent interface to add metadata to your return value. It's a very expressive, clean result wrapper.
c# , failure , fluent , .net , response , success , notification
Install-Package Ether.Outcomes -Version 2.9.5
Outcome is the ultimate result wrapper! It's great for those awkward moments when you need to return a value, but you might also need to return a list of validation messages, warnings, or a success bit.
It's a fluent, expressive, easy-to-learn spin on the Notification pattern, with a few careful tweaks.
Check out the getting started guide.
First, install NuGet. Then, install Outcome.NET from the package manager console:
PM> Install-Package Ether.Outcomes
Outcome.NET is Copyright © 2014 Brian MacKay, Kinetiq, and other contributors under the MIT license.