摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.IO; /* */ namespace App_MYCS.HDL_SJMS.JZZMS{ class my_J 阅读全文
posted @ 2016-08-28 15:18 悟道007 阅读(113) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text; /* 原型模式 */ namespace App_MYCS.HDL_SJMS.YXMS{ class my_YXMS { public 阅读全文
posted @ 2016-08-28 15:18 悟道007 阅读(116) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text; /* 工厂模式 */ namespace App_MYCS.HDL_SJMS.GCMS{ class my_GCMS_DY { pub 阅读全文
posted @ 2016-08-28 15:17 悟道007 阅读(130) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text; /* 简单工厂 */namespace App_MYCS.HDL_SJMS.JDGC{ //调用 public class my_JD 阅读全文
posted @ 2016-08-28 15:17 悟道007 阅读(117) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;/* 单例模式 * 注意多线程下的问题 */namespace App_MYCS.HDL_SJMS.DLMS_1{ class my_D 阅读全文
posted @ 2016-08-28 15:16 悟道007 阅读(120) 评论(0) 推荐(0)
摘要: 设计模式 ( GOF :23种设计模式中的一种,属于创建模式 (提供一个创建一条(列)相关或对象的接口) 无需指定具体的类) 创建模式(对象创建型模式)ABSTRACTFACTORY (抽象工厂)FACTORYMETHOD (工厂方法)SINGLETON (单件)BUILDER (生成器)PROTO 阅读全文
posted @ 2016-08-28 15:15 悟道007 阅读(126) 评论(0) 推荐(0)