GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - a34546/Design-Pattern: 设计模式 C# 版( .NET 6),有系列文章讲解

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

60 Commits
60 Commits

Folders and files

NameName
Last commit message
Last commit date
AdapterPattern
AdapterPattern
 
 
BridgePattern
BridgePattern
 
 
BuilderPattern
BuilderPattern
 
 
ChainofResponsibility
ChainofResponsibility
 
 
CommandPattern
CommandPattern
 
 
CompositePattern
CompositePattern
 
 
DecoratorPattern
DecoratorPattern
 
 
FacadePattern
FacadePattern
 
 
FactoryPattern
FactoryPattern
 
 
FlyweightPattern
FlyweightPattern
 
 
IteratorPattern
IteratorPattern
 
 
MediatorPattern
MediatorPattern
 
 
MementoPattern
MementoPattern
 
 
ObserverPattern
ObserverPattern
 
 
PrototypePattern
PrototypePattern
 
 
ProxyPattern
ProxyPattern
 
 
SingletonPattern
SingletonPattern
 
 
StatePattern
StatePattern
 
 
StrategyPattern
StrategyPattern
 
 
TemplateMethodPattern
TemplateMethodPattern
 
 
VisitorPattern
VisitorPattern
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.upgrade-assistant
.upgrade-assistant
 
 
AnalysisReport.sarif
AnalysisReport.sarif
 
 
DesignPattern.sln
DesignPattern.sln
 
 
README.md
README.md
 
 
UpgradeReport.sarif
UpgradeReport.sarif
 
 
upgrade-assistant.clef
upgrade-assistant.clef
 
 

Repository files navigation

DEMO 版本已更新至.NET 6 !!!

『设计模式』之小试牛刀(来了就给个Star吧!)

为了更好的学习设计模式,以及督促自己完成设计模式的学习,现提笔为记。 怎么的,每周至少也要学一个设计模式!!! 恳请大家的监督和不吝赐教,共同学习和进步! 内容主要参考自《设计模式之禅》、《大话设计模式》两本书籍,以及相关网络博文!

源码路径:源代码 C#

目录

想学设计模式,你得先会看类图,一张图读懂UML

大致了解下都有哪些设计模式

01. 我是独一无二的『单例模式』
02. 创建相似对象,就交给『工厂模式』吧
03. 固定模板,不同算法,就用『模板方法模式』
04. 关注产出,不关心细节,『建造者模式』
05. 重复构造,打出原形,『原型模式』
06. 间接访问,非『代理模式』莫属
07. 系列对象,依赖交互,『中介者模式』来帮忙
08. 任务分发,只管下达『命令模式』即可
09. 流程业务,各司其职,『责任链模式』
10. 毛坯还是精装修,先看看样板房,『装饰模式』
11. 算法独立于场景而灵活变化,『策略模式』
12. 新旧对接,『适配器模式』
13. 玩转集合容器,『迭代器模式』
14. 部分整体,树形结构,『组合模式』来帮忙
15. 『观察者模式』来钓鱼
16. ATM取款聊聊『门面模式』
17. 后悔药,『备忘录模式』
18. 这一次数据说了算,『访问者模式』
19. 自动驾驶谈谈『状态模式』
20. 对象复用,『享元模式』
21. 牵线搭桥,『桥接模式』

设计模式之禅

About

设计模式 C# 版( .NET 6),有系列文章讲解

Resources

Readme
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.