Note:
There are already a lot of articles on the design patterns online. I just want to refer to others' articles to systematically learn the design patterns. Therefore, this series is not a series of tutorials, it is just a learning note for me to learn the design model. In addition, due to my limited ability, some errors are inevitable. Please let me know if you are passing!
Learning outline:
1. creational patterns [Creation Mode]
1. Singleton (Singleton)
2. Abstract Factory)
3. Builder)
4. Factory method (Factory method)
5. Prototype (prototype)
2. Structural Patterns [structural mode]
6. Adapter)
7. Bridge)
8. decorator)
9. Composite (combination)
10. facade (appearance)
11. flyweight (share yuan)
12. Proxy)
3. behavioral patterns [behavior mode]
13. Template Method)
14. Command (command)
15. iterator (iterator)
16. Observer (observer)
17. mediator (intermediary)
18. mementor (Memorandum)
19. Interpreter (Interpreter)
20. State)
21. Strategy)
22. chain of responsibility (responsibility chain)
23. Visitor (visitor)
Main reference resources:
C # An overview of the object-oriented design model -- Li Jianzhong
. Net Design Pattern series-terrylee
Design Model-Lu Zhenyu
Source making
Others