上一页 1 ··· 236 237 238 239 240 241 242 243 244 ··· 493 下一页
  2014年9月25日
摘要: 装饰模式(Decorator Pattern):动态地给一个对象增加一些额外的职责,就增加对象功能来说,装饰模式比生成子类实现更为灵活。模式角色与结构:示例代码:using System;using System.Collections.Generic;using System.Linq;using... 阅读全文
posted @ 2014-09-25 18:03 逝者如斯(乎) 阅读(345) 评论(0) 推荐(0)
上一页 1 ··· 236 237 238 239 240 241 242 243 244 ··· 493 下一页