04 2012 档案

摘要:Definition:Identify the aspects of your application that vary and separate them from what stays the sameSample Code:namespace StrategyPattern{ public abstract class Duck { protected FlyBehavior flyBehavior; protected QuackBehavior quackBehavior; public Duck() { } pu... 阅读全文
posted @ 2012-04-11 18:54 Leo Tang 阅读(149) 评论(0) 推荐(0)
摘要:Hello blog! 阅读全文
posted @ 2012-04-06 19:20 Leo Tang 阅读(112) 评论(0) 推荐(0)