2014年12月25日

设计模式学习--抽象工厂

摘要: public class AbstractFactory { public static I GetInstance(string nameSpace, string className) { Assembly a = Assembly... 阅读全文

posted @ 2014-12-25 13:54 荆小轲 阅读(97) 评论(0) 推荐(0) 编辑

设计模式学习--Singleton泛型类

摘要: /// /// Singleton泛型类 /// /// public sealed class Singleton where T : new() { private static T instance = new T(); ... 阅读全文

posted @ 2014-12-25 11:49 荆小轲 阅读(103) 评论(0) 推荐(0) 编辑

导航