欢迎您访问 最编程 本站为您分享编程语言代码,编程技术文章!
您现在的位置是: 首页

跟随设计模式的脚步:C#实现 - 文章内容索引

最编程 2024-08-04 15:35:30
...

1.预备篇

UML类图10分钟快速入门

2.创建型模式

① 设计模式的征途-01.单例(Singleton)模式

② 设计模式的征途-02.简单工厂(Simple Factory)模式

③ 设计模式的征途-03.工厂方法(Factory Method)模式

④ 设计模式的征途-04.抽象工厂(Abstract Factory)模式

⑤ 设计模式的征途-05.原型(Prototype)模式

⑥ 设计模式的征途-06.建造者(Builder)模式

3.结构型模式

① 设计模式的征途-07.适配器(Adapter)模式

② 设计模式的征途-08.桥接(Bridge)模式

③ 设计模式的征途-09.组合(Composite)模式

④ 设计模式的征途-10.装饰(Decorator)模式

⑤ 设计模式的征途-11.外观(Facade)模式

⑥ 设计模式的征途-12.享元(Flyweight)模式

⑦ 设计模式的征途-13.代理(Proxy)模式

4.行为型模式

① 设计模式的征途-14.职责链(Chain of Responsibility)模式

② 设计模式的征途-15.观察者(Observer)模式

③ 设计模式的征途-16.访问者(Visitor)模式

④ 设计模式的征途-17.模板方法(Template Method)模式

⑤ 设计模式的征途-18.策略(Strategy)模式

⑥ 设计模式的征途-19.命令(Command)模式

⑦ 设计模式的征途-20.备忘录(Memento)模式

⑧ 设计模式的征途-21.迭代器(Iterator)模式

⑨ 设计模式的征途-22.中介者(Mediator)模式

⑩ 设计模式的征途-23.解释器(Interpreter)模式

5.源代码

github => https://github.com/EdisonChou/DesignPatternDemos

 

推荐阅读