[网站分类]8.技术转载区(.NET技术文章转载
eagle_sky
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Rhino Mocks To The Rescure
http://developernotes.com/archive/2006/06/06/Rhino...NMock不支持mocking classes. Rhino Mocks allows you to create a PartialMock of a class with parameterized constructor arguments.Sample code pieces:...2006-11-23 09:17:00 · 219 阅读 · 0 评论 -
重写方法不被认为是在类上声明的
当在类中指定方法时,如果有多个方法与调用兼容(例如,存在两种同名的方法,并且其参数与传递的参数兼容),则 C# 编译器将选择最佳方法进行调用。下面的方法将是兼容的:C# 复制代码public class Derived : Base{public override void DoWork(int param) { }public void DoWork(double param) ...2007-03-22 14:54:00 · 126 阅读 · 0 评论 -
One Assertion Per Test(zz)
zz from :http://www.artima.com/weblogs/viewpost.jsp?thread=35578See another zz blog: One Expectation Per TestShift Your Paradigm!One Assertion Per Testby Dave AstelsFebruary 23, 2004SummaryFor so...2007-05-18 10:15:00 · 132 阅读 · 0 评论 -
One Assertion Per Test(zz)
zz from :http://www.artima.com/weblogs/viewpost.jsp?thread=35578See another zz blog: One Expectation Per TestShift Your Paradigm!One Assertion Per Testby Dave AstelsFebruary 23, 2004SummaryFor so...2007-05-18 10:15:00 · 120 阅读 · 0 评论 -
One Expectation Per Test(zz)
zz From:http://jupitermoonbeam.blogspot.com/2007/05/dont-expect-too-much.htmlAnd http://www.daveastels.com/articles/2006/08/26/one-expectation-per-example-a-remake-of-one-assertion-per-test Don't ...2007-05-18 10:18:00 · 204 阅读 · 0 评论 -
One Expectation Per Test(zz)
zz From:http://jupitermoonbeam.blogspot.com/2007/05/dont-expect-too-much.htmlAnd http://www.daveastels.com/articles/2006/08/26/one-expectation-per-example-a-remake-of-one-assertion-per-test Don't ...2007-05-18 10:18:00 · 143 阅读 · 0 评论 -
Supervising Controller - Martin's "GUI Architectures" series (2)
zz from www.martinfowler.comTo be translated...Supervising ControllerFactor the UI into a view and controller where the view handles simple mapping to the underlying model and the the controller ha...2007-05-31 12:16:00 · 158 阅读 · 0 评论 -
Supervising Controller - Martin's "GUI Architectures" series (2)
zz from www.martinfowler.comTo be translated...Supervising ControllerFactor the UI into a view and controller where the view handles simple mapping to the underlying model and the the controller ha...2007-05-31 12:16:00 · 130 阅读 · 0 评论 -
Presentation Model - Martin's "GUI Architectures" series (3)
zz from www.martinfowler.comTo be translated...Presentation ModelRepresent the state and behavior of the presentation independently of the GUI controls used in the interfaceAlso Known As: Applicat...2007-05-31 12:18:00 · 159 阅读 · 0 评论 -
Presentation Model - Martin's "GUI Architectures" series (3)
zz from www.martinfowler.comTo be translated...Presentation ModelRepresent the state and behavior of the presentation independently of the GUI controls used in the interfaceAlso Known As: Applicat...2007-05-31 12:18:00 · 153 阅读 · 0 评论 -
Passive View - Martin's "GUI Architectures" series (4)
zz from www.martinfowler.comTo be translated...Passive ViewA screen and components with all application specific behavior extracted into a controller so that the widgets have their state controlled...2007-05-31 12:19:00 · 157 阅读 · 0 评论 -
重写方法不被认为是在类上声明的
当在类中指定方法时,如果有多个方法与调用兼容(例如,存在两种同名的方法,并且其参数与传递的参数兼容),则 C# 编译器将选择最佳方法进行调用。下面的方法将是兼容的:C# 复制代码public class Derived : Base{public override void DoWork(int param) { }public void DoWork(double param) ...2007-03-22 14:54:00 · 125 阅读 · 0 评论 -
UML序列图(zz)
级别: 初级Donald BellIBM2005 年 2 月 15 日来自Rational Edge:本文作为UML 基础的、关于统一建模语言的基础图的一系列文章的一部分,提供对序列图的详细介绍。它也介绍了最近的 UML 2.0 规范的几个新符号元件。现在是二月,而且到如今你或许已经读到、或听到人们谈论UML 2.0 —— 包括若干进步的 UML 的新规范,所做的变化。考虑到新规范的重要...2007-03-19 11:28:00 · 456 阅读 · 0 评论 -
Rhino Mocks To The Rescure
http://developernotes.com/archive/2006/06/06/Rhino...NMock不支持mocking classes. Rhino Mocks allows you to create a PartialMock of a class with parameterized constructor arguments.Sample code pieces:...2006-11-23 09:17:00 · 99 阅读 · 0 评论 -
Some high level concepts
http://structuremap.sourceforge.net/Concepts.htmObject Oriented DesignImpact of Test Driven Developement and Emergent DesignBuilding Blocks of Object Oriented ProgrammingInversion of Control (IoC)...2006-11-23 09:25:00 · 148 阅读 · 0 评论 -
Some high level concepts
http://structuremap.sourceforge.net/Concepts.htmObject Oriented DesignImpact of Test Driven Developement and Emergent DesignBuilding Blocks of Object Oriented ProgrammingInversion of Control (IoC)...2006-11-23 09:25:00 · 99 阅读 · 0 评论 -
Singletons Are Evil
http://c2.com/cgi/wiki?SingletonsAreEvilAlmost every use of singleton I have encountered was best replaced by an attribute accessor in a higher level object that is then either explicitly passed...2006-11-23 09:56:00 · 136 阅读 · 0 评论 -
Singletons Are Evil
http://c2.com/cgi/wiki?SingletonsAreEvilAlmost every use of singleton I have encountered was best replaced by an attribute accessor in a higher level object that is then either explicitly passed...2006-11-23 09:56:00 · 139 阅读 · 0 评论 -
Best and Worst Practices for Mock Objects
http://codebetter.com/blogs/jeremy.miller/archive/...Mock objects are like any other tool. Used one way they’re a huge time saver. In other cases they can easily create more work and degrade the quali...2006-11-23 10:00:00 · 124 阅读 · 0 评论 -
Best and Worst Practices for Mock Objects
http://codebetter.com/blogs/jeremy.miller/archive/...Mock objects are like any other tool. Used one way they’re a huge time saver. In other cases they can easily create more work and degrade the quali...2006-11-23 10:00:00 · 128 阅读 · 0 评论 -
小函数:让你的函数变短的九个好处
Small Methods: Nine Benefits of Making Your Methods Shorter 小函数:让你的函数变短的九个好处 译者注:本文英文版来自http://langrsoft.com/articles/smallMethods.shtml。翻译不改变原文的版权。中文版版权归本人所有。 I've espoused, on many occasions, m...2006-12-04 22:15:00 · 368 阅读 · 0 评论 -
小函数:让你的函数变短的九个好处
Small Methods: Nine Benefits of Making Your Methods Shorter 小函数:让你的函数变短的九个好处 译者注:本文英文版来自http://langrsoft.com/articles/smallMethods.shtml。翻译不改变原文的版权。中文版版权归本人所有。 I've espoused, on many occasions, m...2006-12-04 22:15:00 · 222 阅读 · 0 评论 -
UML序列图(zz)
级别: 初级Donald BellIBM2005 年 2 月 15 日来自Rational Edge:本文作为UML 基础的、关于统一建模语言的基础图的一系列文章的一部分,提供对序列图的详细介绍。它也介绍了最近的 UML 2.0 规范的几个新符号元件。现在是二月,而且到如今你或许已经读到、或听到人们谈论UML 2.0 —— 包括若干进步的 UML 的新规范,所做的变化。考虑到新规范的重要...2007-03-19 11:28:00 · 138 阅读 · 0 评论 -
Passive View - Martin's "GUI Architectures" series (4)
zz from www.martinfowler.comTo be translated...Passive ViewA screen and components with all application specific behavior extracted into a controller so that the widgets have their state controlled...2007-05-31 12:19:00 · 137 阅读 · 0 评论
分享