2012年7月16日

C#设计模式(10)-Adapter Pattern (转)

摘要: 结构模式(Structural Pattern)描述如何将类或者对象结合在一起形成更大的结构。结构模式描述两种不同的东西:类与类的实例。根据这一点,结构模式可以分为类的结构模式和对象的结构模式。后续内容将包括以下结构模式:•适配器模式(Adapter):Match interfaces of different classes•合成模式(Composite):A tree structure of simple and composite objects•装饰模式(Decorator):Add responsibilities to objects dynamically•代理模式(Proxy 阅读全文

posted @ 2012-07-16 18:07 lbg 阅读(229) 评论(0) 推荐(0) 编辑

导航