摘要: (接上篇)5)外观模式(Facade Pattern) 6)享元模式(Flyweight Pattern) 7)代理模式(Proxy Pattern)5.外观模式1)简介:为子系统中的一组接口提供一个一致的界面.用来向外隐藏内部的具体细节.2)结构图:代码:View Code 1 /// 子系统1 2 public class SubSystem1 3 { 4 /// <summary></summary> 5 public void Operation1() 6 { 7 Console.Write("operation1..."); 8... 阅读全文
posted @ 2012-03-10 10:02 Quains 阅读(1091) 评论(2) 推荐(4) 编辑
无觅相关文章插件,快速提升流量