1. 程式人生 > >C#設計模式(23種設計模式)

C#設計模式(23種設計模式)

mem ML site rate decorator server entry type AC

創建型:
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)

C#設計模式(23種設計模式)