avatar

目录
C#设计模式

C#设计模式(23种设计模式)

创建型:

  1. 单件模式(Singleton Pattern)
  2. 抽象工厂(Abstract Factory)
  3. 建造者模式(Builder)
  4. 工厂方法模式(Factory Method)
  5. 原型模式(Prototype)

结构型:

  1. 适配器模式(Adapter Pattern)
  2. 桥接模式(Bridge Pattern)
  3. 装饰模式(Decorator Pattern)
  4. 组合模式(Composite Pattern)
    1. 外观模式(Facade Pattern)
    2. 享元模式(Flyweight Pattern)
    3. 代理模式(Proxy Pattern)

行为型:

  1. 模板方法(Template Method)
  2. 命令模式(Command Pattern)
  3. 迭代器模式(Iterator Pattern)
  4. 观察者模式(Observer Pattern)
  5. 解释器模式(Interpreter Pattern)
  6. 中介者模式(Mediator Pattern)
  7. 职责链模式(Chain of Responsibility Pattern)
  8. 备忘录模式(Memento Pattern)
  9. 策略模式(Strategy Pattern)
  10. 访问者模式(Visitor Pattern)
  11. 状态模式(State Pattern)

原文地址:《C#设计模式(23种设计模式)》

文章作者: HJY
文章链接: https://hjy-dev.github.io/2019/10/10/C-%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/
版权声明: 本博客所有文章除特别声明外,均采用 Apache License 2.0 许可协议。转载请注明来自 Kiven Blog
打赏
  • 微信
    微信
  • 支付寶
    支付寶

评论