asp.net

asp.net,c#

2007年3月9日

结构型模式 组合模式

摘要: Composite Definition Compose objects into tree structures to represent part-whole hierarchies. Composite lets clients treat individual objects and composition... 阅读全文

posted @ 2007-03-09 16:23 灵魂边缘 阅读(312) 评论(0) 推荐(0) 编辑
结构型模式,装饰模式

摘要: Definition Attach additional responsibilities to an object dynamically. Decorators provide a flexible alternative to subclassing for extending functionality. ... 阅读全文

posted @ 2007-03-09 16:17 灵魂边缘 阅读(259) 评论(0) 推荐(0) 编辑