规格型号示例 [英] Specification Pattern Example

查看:112
本文介绍了规格型号示例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

阅读一系列博客后( here here )来自LosTechies.com的Chris Missal在规格模式上我真的很想找到更完整的例子。有没有人知道我可以找到更加丰富的例子,或者是使用这种模式的开源项目?

解决方案

有关示例的演练,请查看Dimecasts 学习规范模式 。 / p>

通过与您列出的相同博客学习了规格模式,我还不确信。可能这些例子太简单了,所以看起来更值得的工作。一个很好的广泛的例子,显示出真正的好处将是很好的。


After reading a series of blogs (here and here) by Chris Missal from LosTechies.com on the Specification Pattern I am am really interested in finding more complete examples. Does anyone know where I could find a more fleshed out example or perhaps an open source project that uses this pattern?

解决方案

Also take a look at the Dimecasts 'Learning the Specification pattern' for a walkthrough of an example.

Having learned the Specification pattern through the same blogs as you listed, I'm not yet convinced. It could just be that the examples are too simplistic so it seems more work that it's worth. A good, extensive example that shows come genuine benefit would be nice.

这篇关于规格型号示例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆