摘要:   使用思路:需要动态修改类中的常变的部分   例子 简单的策略模式简单代码: using System; // Strategy Pattern by Judith Bishop Oct 2007 // Shows two strategies and a random switch between them   // The Context class... 阅读全文
posted @ 2009-08-17 23:03 my36z 阅读(263) 评论(0) 推荐(0) 编辑