随笔分类 -  CSharp code

上一页 1 2 3 4 5 6 7 8 9 ··· 17 下一页
C#代码学习
摘要:/// <summary> /// 外观模式Facade Pattern /// geovindu,Geovin Du eidt /// 机器人颜色 /// </summary> public class RobotColor { /// <summary> /// 颜色名称 /// </summa 阅读全文
posted @ 2022-10-05 23:37 ®Geovin Du Dream Park™ 阅读(50) 评论(0) 推荐(0)
摘要:/// <summary> /// 适配器模式 Adapter PatternA /// geovindu, Geovin Du edit /// </summary> interface IRectangle { void AboutMe(); } /// <summary> /// /// </ 阅读全文
posted @ 2022-10-05 16:35 ®Geovin Du Dream Park™ 阅读(32) 评论(0) 推荐(0)
摘要:/// <summary> ///装饰模式 Decorator Pattern ///geovindu,Geovin Du eidt /// /// </summary> abstract class AbstractHome { /// <summary> /// /// </summary> p 阅读全文
posted @ 2022-10-05 14:23 ®Geovin Du Dream Park™ 阅读(33) 评论(0) 推荐(0)
摘要:/// <summary> /// Abstract class Subject /// 代理模式 Proxy Pattern /// Structural Design Patterns /// geovindu, Geovin Du edit /// </summary> public abst 阅读全文
posted @ 2022-10-04 21:24 ®Geovin Du Dream Park™ 阅读(33) 评论(0) 推荐(0)
摘要:/// <summary> /// Abstract Factory抽像工厂 /// geovindu,Geovin Du eidt /// </summary> public interface IShape { void Draw(); } /// <summary> /// /// </sum 阅读全文
posted @ 2022-10-04 17:19 ®Geovin Du Dream Park™ 阅读(30) 评论(0) 推荐(0)
摘要:/// <summary> /// geovindu, Geovin Du,涂聚文 Edit /// </summary> public class DuModel { private string name; private int price, quantity; /// <summary> / 阅读全文
posted @ 2022-10-04 13:41 ®Geovin Du Dream Park™ 阅读(181) 评论(0) 推荐(0)
摘要:#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> /// Car is a ConcreteBuilder /// 生成器 Builder Pattern /// geovindu eidit /// </summary> class Car : IBuilder { /// <summary> /// /// </su 阅读全文
posted @ 2022-10-03 22:45 ®Geovin Du Dream Park™ 阅读(24) 评论(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> /// Summary description for Employee. /// Visitor Pattern 访问者模式 ///20220918 /// geovindu,Geovin Du,涂聚文 /// </summary> public class Emplo 阅读全文
posted @ 2022-10-02 19:25 ®Geovin Du Dream Park™ 阅读(27) 评论(0) 推荐(0)
摘要:/// <summary> /// Summary description for Triangle. /// Template Method Pattern 模板方法模式 ///20220918 /// geovindu,Geovin Du,涂聚文 /// </summary> public ab 阅读全文
posted @ 2022-10-02 16:11 ®Geovin Du Dream Park™ 阅读(26) 评论(0) 推荐(0)
摘要:/// <summary> /// A simple file handlng class /// Strategy Pattern 策略模式 ///20220918 /// geovindu,Geovin Du,涂聚文 /// </summary> public class csFile { pr 阅读全文
posted @ 2022-10-01 14:45 ®Geovin Du Dream Park™ 阅读(28) 评论(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 Observer. /// Observer Pattern 观察者 ///20220918 /// geovindu,Geovin Du,涂聚文 /// </summary> public interface Ob 阅读全文
posted @ 2022-09-30 21:24 ®Geovin Du Dream Park™ 阅读(30) 评论(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)
摘要:/// <summary> /// A simple file handlng class /// Iterator Patterns 迭代器模式 /// 20220918 /// geovindu,Geovin Du,涂聚文 /// </summary> public class csFile { 阅读全文
posted @ 2022-09-29 22:42 ®Geovin Du Dream Park™ 阅读(27) 评论(0) 推荐(0)
摘要:/// <summary> /// defines Command interface /// Command Patterns命令模式 /// 20220918 /// geovindu,Geovin Du,涂聚文 /// </summary> public interface Command { 阅读全文
posted @ 2022-09-28 23:48 ®Geovin Du Dream Park™ 阅读(27) 评论(0) 推荐(0)
摘要:/// <summary> /// Chain of Responsibility Patterns 责任链模式 /// 20220918 /// geovindu,Geovin Du,涂聚文 /// </summary> public abstract class Chain { /// <sum 阅读全文
posted @ 2022-09-27 22:57 ®Geovin Du Dream Park™ 阅读(27) 评论(0) 推荐(0)
摘要:/// <summary> /// Proxy Patterns 代理模式 ///20220918 /// geovindu,Geovin Du,涂聚文 /// </summary> public interface DuImager { Image getImage(); } /// <summa 阅读全文
posted @ 2022-09-27 00:14 ®Geovin Du Dream Park™ 阅读(27) 评论(0) 推荐(0)
摘要:/// <summary> /// Summary description for Positioner. /// Flyweight Patterns享元 模式 ///20220918 /// geovindu,Geovin Du,涂聚文 /// </summary> public class P 阅读全文
posted @ 2022-09-25 22:06 ®Geovin Du Dream Park™ 阅读(23) 评论(0) 推荐(0)

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