Ether.Outcomes 1.3.1-alpha

This is a prerelease version of Ether.Outcomes.
There is a newer version of this package available.
See the version list below for details.

Requires NuGet 2.8.1 or higher.

dotnet add package Ether.Outcomes --version 1.3.1-alpha                
NuGet\Install-Package Ether.Outcomes -Version 1.3.1-alpha                
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="Ether.Outcomes" Version="1.3.1-alpha" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Ether.Outcomes --version 1.3.1-alpha                
#r "nuget: Ether.Outcomes, 1.3.1-alpha"                
#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.
// Install Ether.Outcomes as a Cake Addin
#addin nuget:?package=Ether.Outcomes&version=1.3.1-alpha&prerelease

// Install Ether.Outcomes as a Cake Tool
#tool nuget:?package=Ether.Outcomes&version=1.3.1-alpha&prerelease                

Outcome.NET lets you return either a result, or a list of messages (usually in the event of failure). It is a fluent, clean, easy-to-learn implementation of the Notification pattern, with a few extras.  

Ever write a method that could fail intermittently, like a call to a particularly flaky web service?

Typically, you handle this one of three ways: by throwing/catching exceptions, by tacking boilerplate code onto your result with metadata to indicate success or failure, or by wrapping the result in another object.

All of these work, but they're plumbing, and that's wasteful. Outcome.NET takes the third approach and extends it, providing an expressive, fluent wrapper that just works.

Product Compatible and additional computed target framework versions.
.NET Framework net is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on Ether.Outcomes:

Package Downloads
CQRSlight

Simple abstractions for *Command and *Query parts of CQRS pattern

CQRSlight.Db

Simple database-adapted abstractions for *Command and *Query parts of CQRS pattern

Ether.Outcomes.Composer

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.

Notif.Abstractions

Notif.Abstractions - notificaion abstractions for .NET Standard

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.1.0-alpha 2,130 4/14/2023
3.0.0-alpha 1,098 4/14/2023
2.9.5 97,407 10/9/2018
2.9.4-beta 2,013 3/1/2018
2.9.3-beta 1,802 3/1/2018
2.9.2-alpha 3,419 1/18/2018
2.9.1-alpha 1,767 11/6/2017
2.9.0-alpha 1,743 10/24/2017
2.8.2-alpha 1,885 3/28/2017
2.8.1-alpha 1,958 1/10/2017
2.8.0-alpha 1,882 1/10/2017
2.7.0-alpha 1,855 10/19/2016
2.6.0-alpha 1,879 8/18/2016
2.5.0-alpha 1,864 8/12/2016
2.4.0-alpha 1,846 7/19/2016
2.3.0-alpha 1,907 5/31/2016
2.2.0 14,020 11/25/2015
2.2.0-alpha 1,919 6/22/2015
2.1.1-alpha 1,921 6/17/2015
2.1.0-alpha 1,912 6/17/2015
2.0.2-alpha 1,940 5/7/2015
2.0.1-alpha 2,126 4/29/2015
2.0.0-alpha 1,906 3/30/2015
1.3.1 2,472 3/27/2015
1.3.1-alpha 1,963 3/26/2015
1.3.0-alpha 1,928 3/23/2015
1.2.0 2,466 2/11/2015
1.1.0 2,708 11/14/2014
1.0.5 2,495 10/30/2014
1.0.4 2,241 8/7/2014
1.0.3 2,250 6/21/2014
1.0.2 2,185 6/17/2014
1.0.1 2,190 6/17/2014
1.0.0 2,222 6/17/2014

- Switched from .Net 4.5 to .Net 4 for additional compatibility.
- Added resharper attributes around string format methods.
- Added deprecation tags to a few methods that are going to be removed in v2.
- Added FormatMultiLine and marked ToString(string delimiter) as deprecated, since that was an unconventional use of a ToString() override.