随笔分类 -  CSharp code

上一页 1 2 3 4 5 6 7 ··· 17 下一页
C#代码学习
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Geovin.Du.DuUnitOfWork.D 阅读全文
posted @ 2023-01-08 13:03 ®Geovin Du Dream Park™ 阅读(26) 评论(0) 推荐(0)
摘要:using Geovin.Du.DuObserver.DuNewspaper.Publishers.Common; using Geovin.Du.DuObserver.DuNewspaper.Subscribers.Common; using System; using System.Collec 阅读全文
posted @ 2022-12-21 23:20 ®Geovin Du Dream Park™ 阅读(27) 评论(0) 推荐(0)
摘要:using Geovin.Du.DuMemento.Conceptual; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tas 阅读全文
posted @ 2022-12-19 22:59 ®Geovin Du Dream Park™ 阅读(21) 评论(0) 推荐(0)
摘要:/// <summary> /// 中介者模式 Mediator Pattern 亦称: 调解人、控制器、Intermediary、Controller、Mediator /// </summary> public abstract class User { /// <summary> /// // 阅读全文
posted @ 2022-12-18 17:42 ®Geovin Du Dream Park™ 阅读(22) 评论(0) 推荐(0)
摘要:资源都来源于互联网 /// <summary> /// 迭代器模式 Iterator Pattern /// </summary> public interface IIterableCollection { /// <summary> /// /// </summary> /// <returns 阅读全文
posted @ 2022-12-18 11:47 ®Geovin Du Dream Park™ 阅读(19) 评论(0) 推荐(0)
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Geovin.Du.DuChainOfRespo 阅读全文
posted @ 2022-12-17 23:45 ®Geovin Du Dream Park™ 阅读(25) 评论(0) 推荐(0)
摘要:using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Geovi 阅读全文
posted @ 2022-12-17 19:28 ®Geovin Du Dream Park™ 阅读(33) 评论(0) 推荐(0)
摘要:/// <summary> /// 外观模式 Facade Pattern /// 银行 /// </summary> public class Bank { public bool IsUntrustworthy(Customer customer, decimal loanAmount) { C 阅读全文
posted @ 2022-11-16 21:15 ®Geovin Du Dream Park™ 阅读(21) 评论(0) 推荐(0)
摘要:/// <summary> ///装饰模式 Decorator Pattern 亦称: 装饰者模式、装饰器模式、Wrapper、Decorator /// </summary> public interface IDataSource { /// <summary> /// /// </summar 阅读全文
posted @ 2022-11-15 23:07 ®Geovin Du Dream Park™ 阅读(20) 评论(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™ 阅读(29) 评论(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™ 阅读(23) 评论(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™ 阅读(49) 评论(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™ 阅读(25) 评论(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™ 阅读(38) 评论(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™ 阅读(21) 评论(0) 推荐(0)
摘要:/// <summary> /// 空对象模式 null object Pattern /// /// </summary> public abstract class Application { /// <summary> /// /// </summary> private static rea 阅读全文
posted @ 2022-11-04 22:41 ®Geovin Du Dream Park™ 阅读(26) 评论(0) 推荐(0)
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApp1; /// <summar 阅读全文
posted @ 2022-11-02 21:07 ®Geovin Du Dream Park™ 阅读(28) 评论(0) 推荐(0)

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