上一页 1 ··· 42 43 44 45 46 47 48 49 50 ··· 118 下一页
摘要: <!doctype html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-sca 阅读全文
posted @ 2022-11-15 16:46 ®Geovin Du Dream Park™ 阅读(66) 评论(0) 推荐(0)
摘要: /// <summary> /// 组合模式 Composite Pattern 亦称: 对象树、Object Tree、Composite Pattern /// </summary> public abstract class Gift { /// <summary> /// /// </sum 阅读全文
posted @ 2022-11-14 23:17 ®Geovin Du Dream Park™ 阅读(26) 评论(0) 推荐(0)
摘要: /// <summary> /// 桥接模式 Bridge Pattern- Structural Pattern /// </summary> public abstract class Document { /// <summary> /// /// </summary> protected r 阅读全文
posted @ 2022-11-13 20:45 ®Geovin Du Dream Park™ 阅读(30) 评论(0) 推荐(0)
摘要: /// <summary> /// 适配器模式 亦称: 封装器模式、Wrapper、Adapter Adapter Pattern /// </summary> public class Employee { /// <summary> /// /// </summary> public int I 阅读全文
posted @ 2022-11-12 23:58 ®Geovin Du Dream Park™ 阅读(25) 评论(0) 推荐(0)
摘要: /// <summary> /// 原型模式 Prototype Pattern /// </summary> public interface IColorPrototype { /// <summary> /// /// </summary> /// <returns></returns> IC 阅读全文
posted @ 2022-11-09 23:25 ®Geovin Du Dream Park™ 阅读(23) 评论(0) 推荐(0)
摘要: /// <summary> ///单例模式 单件模式、Singleton Pattern /// </summary> public abstract class BaseGreeter { public virtual void Greet() => Console.WriteLine($"Gre 阅读全文
posted @ 2022-11-09 23:11 ®Geovin Du Dream Park™ 阅读(24) 评论(0) 推荐(0)
摘要: #region Record Types Record Class in C# 10 /// <summary> /// Positional parameters syntax /// 位置参数的语法 /// </summary> /// <param name="EmployeeId"></pa 阅读全文
posted @ 2022-11-07 23:30 ®Geovin Du Dream Park™ 阅读(50) 评论(0) 推荐(0)
摘要: /// <summary> /// 生成器模式 Builder Pattern /// </summary> public enum MeatType { Beef, Pork, Chicken, Turkey, Salami, } /// <summary> /// 生成器模式 Builder P 阅读全文
posted @ 2022-11-07 22:19 ®Geovin Du Dream Park™ 阅读(26) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Geovinu.Du.DuAbstractFac 阅读全文
posted @ 2022-11-06 07:05 ®Geovin Du Dream Park™ 阅读(39) 评论(0) 推荐(0)
摘要: /// <summary> /// The Product declares the interface, which is common to all objects /// that can be produced by the creator <see cref="Restaurants.Co 阅读全文
posted @ 2022-11-05 06:26 ®Geovin Du Dream Park™ 阅读(22) 评论(0) 推荐(0)
上一页 1 ··· 42 43 44 45 46 47 48 49 50 ··· 118 下一页