/// <summary> /// /// </summary> /// <param name="deviceType"></param> /// <returns></returns> public PickerCollection CreatePickers(string deviceType) { PickerCollection uploadParsers = new PickerCollection(); OperaDefineFactory f = new OperaDefineFactory(); f.LoadFromPath(DefineDirectory); foreach ( UploadDefine ud in f.UploadDefines ) { IPicker p = ud.Create("aaa"); uploadParsers.Add(p); } return uploadParsers; }
/// <summary> /// /// </summary> /// <param name="deviceType"></param> /// <returns></returns> public PickerCollection CreatePickers(string deviceType) { PickerCollection uploadParsers = new PickerCollection(); OperaDefineFactory f = new OperaDefineFactory(); f.LoadFromPath(DefineDirectory); foreach (UploadDefine ud in f.UploadDefines) { IPicker p = ud.Create("aaa"); uploadParsers.Add(p); } return(uploadParsers); }