zoukankan      html  css  js  c++  java
  • C#的23种设计模式概括

    创建型:
            1. 单件模式(Singleton Pattern)
            2. 抽象工厂(Abstract Factory)
            3. 建造者模式(Builder)
            4. 工厂方法模式(Factory Method)
            5. 原型模式(Prototype)
    结构型:
            6. 适配器模式(Adapter Pattern)
            7. 桥接模式(Bridge Pattern)
            8. 装饰模式(Decorator Pattern)
            9. 组合模式(Composite Pattern)
           10. 外观模式(Facade Pattern)
           11. 享元模式(Flyweight Pattern)
           12. 代理模式(Proxy Pattern)
           13. 模板方法(Template Method)
           14. 命令模式(Command Pattern)
           15. 迭代器模式(Iterator Pattern)
    行为型:
           16. 观察者模式(Observer Pattern)
           17. 解释器模式(Interpreter Pattern)
           18. 中介者模式(Mediator Pattern)
           19. 职责链模式(Chain of Responsibility Pattern)
           20. 备忘录模式(Memento Pattern)
           21. 策略模式(Strategy Pattern)
           22. 访问者模式(Visitor Pattern)
           23. 状态模式(State Pattern)

  • 相关阅读:
    穷举 百鸡百钱
    for嵌套for ★
    纸张的厚度循环
    MySQL架构由小变大的演变过程
    MySQL数据库主从复制实践
    想要写出高性能sql语句,你得记住这些……
    Mongodb常用的性能监控命令
    Mongodb的mongostat命令
    Windows下MongoDB常用命令
    Windows下Mysql常用操作命令
  • 原文地址:https://www.cnblogs.com/liubeimeng/p/3806070.html
Copyright © 2011-2022 走看看