工廠模式(簡單,配置文件,反射,工廠方法,抽象)

1.簡單工廠模式 namespace DesignMode {     public class SimpleFactory     {         public static TrafficInterface CreateInstance(TrafficType type) {             switch (type)             {                 c
相關文章
相關標籤/搜索