设计模式之:创建型设计模式、结构型设计模式、行为型设计模式

创建型设计模式有: 共6种

简单工厂模式(Simple Factory)
工厂方法模式(Factory Method)
抽象工厂模式(Abstract Factory)
建造者模式(Builder)
原型模式(Prototype)
单例模式(Singleton)


结构型设计模式有: 共7种

代理模式(Adapter)
适配器模式(Adapter)
外观模式(Facade)
组合模式(Composite)
装饰模式(Decorator)
享元模式(Flyweight)
桥接模式(Proxy)

行为型设计模式有: 共11种

观察者模式(Observer)
状态模式(State)
策略模式(Strategy)
职责链模式(Chain of Responsibility)
命令模式(Command)
中介者模式(Mediator)
模板方法模式(Template Method)
解释器模式(Interpreter)
装饰模式(Decorator)
迭代器模式(Iterator)
访问者模式(Visitor)

posted @ 2022-02-27 11:03  .Net凯  阅读(131)  评论(0编辑  收藏  举报