[设计模式] .NET设计模式笔记 - 有多少种设计模式

本文深入探讨.NET框架下23种设计模式,包括单件模式、抽象工厂模式、建造者模式、工厂方法等创建型模式;适配器模式、桥接模式、装饰模式等结构型模式;模板方法模式、命令模式、迭代器模式等行为型模式。详细解析每种模式的应用场景与实现方式。

.NET下的23中设计模式。

 

※创建型模式篇

●单件模式(Single Pattern)

●抽象工厂模式(Abstract Factory)

●建造者模式(Builder Pattern)

●工厂方法(Factory Method)

●原型模式(Protype Pattern)

 

※结构型模式篇

●适配器模式(Adapter Pattern)

●桥接模式(Bridge Pattern)

●装饰模式(Decorator Pattern)

●组合模式(Composite Pattern)

●外观模式(Façade Pattern)

●享元模式(Flyweight Pattern)

●代理模式(Proxy Pattern)

 

※行为型模式篇

●模版方法模式(Template Method)

●命令模式(Command Pattern)

●迭代器模式(Iterator Pattern)

●观察者模式(Oberver Pattern)

●中介者模式(Mediator Pattern)

●备忘录模式(Memento Pattern)

●解释器模式(Interpreter Pattern)

●状态模式(State Pattern)

●策略模式(Strategy Pattern)

●职责链模式(Chain of Responsibility)

●访问者模式(Visitor Pattern)

转载于:https://www.cnblogs.com/jqmtony/p/3812123.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值