2011年6月26日

Design Pattern----10.Structural.Decorator.Pattern (Delphi Sample)

摘要: IntentAttach additional responsibilities to an object dynamically. Decorators provide a flexible alternative to subclassing for extending functionality. Client-specified embellishment of a core object by recursively wrapping it. Wrapping a gift, putting it in a box, and wrapping the box. ProblemYou 阅读全文

posted @ 2011-06-26 23:54 Tony Liu 阅读(839) 评论(0) 推荐(0) 编辑

导航