设计模式学习--工厂模式
2008-09-23 11:16
141 查看
1.概述
工厂模式根据提供给他的数据,返回一个可能类中的一个类的实例。
2.示例
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Reflection;
6
7namespace Factory
8
工厂模式根据提供给他的数据,返回一个可能类中的一个类的实例。
2.示例
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Reflection;
6
7namespace Factory
8
相关文章推荐
- 设计模式学习笔记四:工厂方法(Factory Method)
- 设计模式学习笔记——工厂模式
- 设计模式学习笔记六:.NET反射工厂
- 设计模式的学习之路,工厂模式加桥模式
- 跟JBPM学习设计模式之简单工厂模式
- Java学习笔记 - 设计模式(一)工厂模式
- J2EE初级学习——设计模式-工厂模式和单例模式
- Java-马士兵设计模式学习笔记-工厂模式-简单工厂
- Java-马士兵设计模式学习笔记-工厂模式-用Jdom模拟Spring
- 设计模式学习笔记之工厂模式
- 学习head first 设计模式之工厂模式
- 设计模式学习笔记(4)抽象工厂
- 设计模式学习——工厂模式
- 设计模式学习笔记---工厂模式(Java版)
- 设计模式学习总结(2) 工厂模式
- C++ 工厂方法设计模式的学习 (Boolan学习笔记第12周)
- 设计模式学习>>>>>>工厂模式
- Java设计模式学习02——工厂模式
- 设计模式学习笔记(四)之工厂模式(Factory)
- 【设计模式学习笔记】——工厂系列