摘要: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)
摘要:/// <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> /// 状态模式 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> /// 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> /// 访问者模式 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> ///组合模式 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)