Beispiel #1
0
 /// <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;
 }
Beispiel #2
0
        /// <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);
        }