随笔分类 -  CSharp code

上一页 1 2 3 4 5 6 7 8 ··· 17 下一页
C#代码学习
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GeovinduDu { [AttributeU 阅读全文
posted @ 2022-10-29 21:36 ®Geovin Du Dream Park™ 阅读(34) 评论(0) 推荐(0)
摘要:Single Responsibility Principle SOLID Design Patterns SOLID is an acronym for five principles of architecture.S – Single Responsibility PrincipleO – O 阅读全文
posted @ 2022-10-28 22:30 ®Geovin Du Dream Park™ 阅读(25) 评论(0) 推荐(0)
摘要:from: Open Source QRCode Library - CodeProject https://www.codeproject.com/articles/20574/open-source-qrcode-library QRCodeEncoder.cs edit using Syste 阅读全文
posted @ 2022-10-22 13:13 ®Geovin Du Dream Park™ 阅读(66) 评论(0) 推荐(0)
摘要://win 11 22H2 64位电脑测试 c# 10 .net core 6 Console.WriteLine("Hello from a Top Level Program!"); Console.WriteLine(Environment.OSVersion.VersionString); 阅读全文
posted @ 2022-10-17 21:03 ®Geovin Du Dream Park™ 阅读(30) 评论(0) 推荐(0)
摘要:/// <summary> /// 空对象模式 null object pattern /// geovin,Geovin Du eidt /// </summary> interface IVehicle { void Travel(); } /// <summary> /// Bus class 阅读全文
posted @ 2022-10-13 23:02 ®Geovin Du Dream Park™ 阅读(28) 评论(0) 推荐(0)
摘要:/// <summary> /// 简单工厂模式 Simple Factory Pattern /// geovindu,Geovin Du edit /// 动物 /// </summary> public interface IAnimal { /// <summary> /// /// </s 阅读全文
posted @ 2022-10-12 23:19 ®Geovin Du Dream Park™ 阅读(23) 评论(0) 推荐(0)
摘要:/// <summary> /// 解释器模式 Interpreter Pattern /// geovindu, Geovin Du edit /// </summary> interface Employee { /// <summary> /// 是否解释 /// </summary> /// 阅读全文
posted @ 2022-10-12 23:02 ®Geovin Du Dream Park™ 阅读(29) 评论(0) 推荐(0)
摘要:/// <summary> ///责任链模式 Chain of Responsibility Pattern 亦称: 职责链模式、命令链、CoR、Chain of Command、Chain of Responsibility /// geovindu,Geovin Du edit /// </su 阅读全文
posted @ 2022-10-12 06:24 ®Geovin Du Dream Park™ 阅读(26) 评论(0) 推荐(0)
摘要:/// <summary> /// 中介者模式 Mediator Pattern 亦称: 调解人、控制器、Intermediary、Controller、Mediator /// geovindu,Geovin Du, Edit /// </summary> interface IMediator 阅读全文
posted @ 2022-10-11 21:35 ®Geovin Du Dream Park™ 阅读(28) 评论(0) 推荐(0)
摘要:/// <summary> /// 状态模式 State Pattern /// geovindu, Geovin Du edit /// </summary> interface IPossibleStates { //Users can press any of these buttons-On 阅读全文
posted @ 2022-10-10 23:07 ®Geovin Du Dream Park™ 阅读(31) 评论(0) 推荐(0)
摘要:/// <summary> /// 备忘录模式 Memento Pattern 亦称: 快照、Snapshot、Memento /// geovindu,Geovin Du edit /// </summary> class Originator { /// <summary> /// 状态 /// 阅读全文
posted @ 2022-10-10 21:57 ®Geovin Du Dream Park™ 阅读(28) 评论(0) 推荐(0)
摘要:#region Iterator /// <summary> /// 迭代器模式 Iterator Pattern /// geovindu,Geovin Du edit /// </summary> public interface IIterator { /// <summary> /// Re 阅读全文
posted @ 2022-10-10 20:31 ®Geovin Du Dream Park™ 阅读(26) 评论(0) 推荐(0)
摘要:/// <summary> /// Receiver Class /// 命令模式 Command Pattern 亦称: 动作、事务、Action、Transaction、Command /// geovindu,Geovin Du eidt /// </summary> public class 阅读全文
posted @ 2022-10-09 22:09 ®Geovin Du Dream Park™ 阅读(36) 评论(0) 推荐(0)
摘要:/// <summary> /// Basic skeleton of actions/steps /// 基础工程 /// 模板方法模式Template Method Pattern /// geovindu,Geovin Du eidt /// </summary> public abstrac 阅读全文
posted @ 2022-10-09 20:58 ®Geovin Du Dream Park™ 阅读(27) 评论(0) 推荐(0)
摘要:/// <summary> /// 车辆行为模型 /// Abstract Behavior /// 策略模式 Strategy Pattern /// geovindu, Geovin Du edit /// /// </summary> public abstract class Vehicle 阅读全文
posted @ 2022-10-08 23:34 ®Geovin Du Dream Park™ 阅读(27) 评论(0) 推荐(0)
摘要:/// <summary> ///观察者模式 Observer Pattern 亦称: 事件订阅者、监听者、Event-Subscriber、Listener、Observe /// geovindu,Geovin Du eidt /// /// </summary> interface IObse 阅读全文
posted @ 2022-10-08 22:34 ®Geovin Du Dream Park™ 阅读(26) 评论(0) 推荐(0)
摘要:/// <summary> /// 访问者模式 Visitor Pattern /// geovindu,Geovin Du eidt /// </summary> interface IEmployee { /// <summary> /// To set an employee name /// 阅读全文
posted @ 2022-10-07 22:57 ®Geovin Du Dream Park™ 阅读(31) 评论(0) 推荐(0)
摘要:/// <summary> /// 单例模式 Singleton Pattern /// geovindu,Geovin Du edit /// </summary> public class Database { /// <summary> /// /// </summary> private D 阅读全文
posted @ 2022-10-07 14:04 ®Geovin Du Dream Park™ 阅读(23) 评论(0) 推荐(0)
摘要:/// <summary> ///组合模式 Composite Pattern /// geovindu,Geovin Du edit /// /// </summary> interface IEmployee { /// <summary> /// To set an employee name 阅读全文
posted @ 2022-10-06 16:39 ®Geovin Du Dream Park™ 阅读(26) 评论(0) 推荐(0)
摘要:/// <summary> /// The 'Flyweight' interface ///享元模式 Flyweight Pattern /// geovindu,Geovin Du edit /// 车辆 /// </summary> interface IVehicle { /* * Clie 阅读全文
posted @ 2022-10-06 15:43 ®Geovin Du Dream Park™ 阅读(29) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 8 ··· 17 下一页