摘要:#region Animal Hierarchy /* * Both the Dog and Tiger classes will * implement the IAnimal interface method. */ /// <summary> /// 工厂方法模式 Factory Method
阅读全文
posted @ 2022-10-04 12:16
®Geovin Du Dream Park™
阅读(29)评论(0)推荐(0)
摘要:/// <summary> /// Prototype Pattern原型设计模式 /// </summary> public abstract class BasicCar { /// <summary> /// /// </summary> public int basePrice = 0, o
阅读全文
posted @ 2022-10-03 16:25
®Geovin Du Dream Park™
阅读(23)评论(0)推荐(0)
摘要:/// <summary> ///empty base class containing State methods to override /// State Patterns状态模式 ///20220918 /// geovindu,Geovin Du,涂聚文 /// </summary> pu
阅读全文
posted @ 2022-09-30 22:24
®Geovin Du Dream Park™
阅读(29)评论(0)推荐(0)
摘要:/// <summary> /// Summary description for Rectangle. /// Mediator Pattern中介者模式 ///20220918 /// geovindu,Geovin Du,涂聚文 /// </summary> public class Rect
阅读全文
posted @ 2022-09-30 14:34
®Geovin Du Dream Park™
阅读(28)评论(0)推荐(0)