C#设计模式(23种设计模式)
C#设计模式(23种设计模式)
创建型:
- 单件模式(Singleton Pattern)
- 抽象工厂(Abstract Factory)
- 建造者模式(Builder)
- 工厂方法模式(Factory Method)
- 原型模式(Prototype)
结构型: - 适配器模式(Adapter Pattern)
- 桥接模式(Bridge Pattern)
- 装饰模式(Decorator Pattern)
- 组合模式(Composite Pattern)
- 外观模式(Facade Pattern)
- 享元模式(Flyweight Pattern)
- 代理模式(Proxy Pattern)
行为型:
- 模板方法(Template Method)
- 命令模式(Command Pattern)
- 迭代器模式(Iterator Pattern)
- 观察者模式(Observer Pattern)
- 解释器模式(Interpreter Pattern)
- 中介者模式(Mediator Pattern)
- 职责链模式(Chain of Responsibility Pattern)
- 备忘录模式(Memento Pattern)
- 策略模式(Strategy Pattern)
- 访问者模式(Visitor Pattern)
- 状态模式(State Pattern)
参考:
http://www.cnblogs.com/abcdwxc/archive/2007/10/30/942834.html
还没有评论,来说两句吧...