摘要:
代理(Proxy)模式 大数据调用 大计算 远程计算机访问 限制访问权限 应用实例1 using System; using System.Drawing; namespace Proxy { /// /// Summary description for Imager. /// public interface I... 阅读全文
posted @ 2007-12-23 21:24 star163 阅读(407) 评论(0) 推荐(0) 编辑
|
|||||
摘要:
代理(Proxy)模式 大数据调用 大计算 远程计算机访问 限制访问权限 应用实例1 using System; using System.Drawing; namespace Proxy { /// /// Summary description for Imager. /// public interface I... 阅读全文
posted @ 2007-12-23 21:24 star163 阅读(407) 评论(0) 推荐(0) 编辑
摘要:
迭代器模式(Iterator) 封装多个元素 使用户正确使用 遍历内部内容 总结Iterator 使用标准接口遍历列表/集合 封装操作 提供后期操功能作扩展 应用实例 using System; using System.Data; using System.Data.SqlClient; using System.Collect... 阅读全文
posted @ 2007-12-23 19:48 star163 阅读(381) 评论(0) 推荐(0) 编辑
摘要:
单件模式 整个系统中对象是唯一的 也可以有固定数目个 如:对象池、portal中的配置对象 当前httpcontext appdomain 应用实列(一) using System; namespace CSDesingPattern { class Singleton { private static Singleton mIns... 阅读全文
posted @ 2007-12-23 12:48 star163 阅读(364) 评论(0) 推荐(0) 编辑
摘要:
存在一个创建对象的工厂
调用者从中取得特别的对象
由工厂决定如何符合调用需求
客户不知道对象如何生成 阅读全文
posted @ 2007-12-23 11:33 star163 阅读(732) 评论(0) 推荐(0) 编辑 |
|||||