Ether.Outcomes

当前版本: 2.9.5


Ether.Outcomes是什么?

NET使用泛型和流畅的接口将元数据添加到返回值中。这是一个非常expressive的、干净的结果包装器。
Outcome.NET uses generics and a fluent interface to add metadata to your return value. It's a very expressive, clean result wrapper.

许可协议

MIT

关键词

c# , failure , fluent , .net , response , success , notification

安装方式

Install-Package Ether.Outcomes -Version 2.9.5

相关网址


Ether.Outcomes使用说明

What is Outcome.NET?

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.

Outcome is particularly useful in MVC projects that do a lot of AJAX calls. If you serialize Outcome objects back to the client, you end up with a standard interface for most of your callbacks, and that opens doors for reuse on the JavaScript side.

How can I get started?

Check out the getting started guide.

Where can I get it?

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.

项目热度

项目信息

分享到

基本信息
开发语言
C#
相关项目
4
相关仓库
7
Watchers
19
Stars
109
Forks
16
版本数量
32
最新发布
2018-10-09
首次发布
2014-06-17
仓库大小
236 KB

版本历史
2.9.5
2018-10-09
2.9.4-beta
2018-03-01
2.9.3-beta
2018-03-01
2.9.2-alpha
2018-01-18
2.9.1-alpha
2017-11-06
2.9.0-alpha
2017-10-24
2.8.2-alpha
2017-03-28
2.8.1-alpha
2017-01-10
2.8.0-alpha
2017-01-10
2.7.0-alpha
2016-10-19

贡献者
Brian MacKay Enrique Ramirez