Skip to content

tmxsl1214/DesignPattern.Samples.CSharp

This branch is up to date with EdisonTalk/DesignPattern.Samples.CSharp:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
EdisonZhou
Jun 16, 2020
3b22bf7 · Jun 16, 2020

History

4 Commits
Jun 16, 2020
Jun 16, 2020
Jun 16, 2020
Jun 16, 2020
Jun 16, 2020
Jun 16, 2020
Jun 16, 2020
Jun 16, 2020
Jun 16, 2020
Jun 16, 2020
Jun 16, 2020
Jun 16, 2020
Jun 16, 2020
Jun 16, 2020
Jun 16, 2020
Jun 16, 2020
Jun 16, 2020
Jun 16, 2020
Jun 16, 2020
Jun 16, 2020
Jun 16, 2020
Jun 16, 2020
Jun 16, 2020
Jun 16, 2020
Jun 16, 2020
Aug 10, 2018

Repository files navigation

23种设计模式(C#实现)Demo

设计模式

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)模式

参考博文

URL:https://www.cnblogs.com/edisonchou/p/7512912.html

@EdisonChou

About

23种面向对象设计模式示例代码(C#实现)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%