當前位置: 首頁>>代碼示例>>C#>>正文


C# BasicMLDataSet.GetEnumerator方法代碼示例

本文整理匯總了C#中BasicMLDataSet.GetEnumerator方法的典型用法代碼示例。如果您正苦於以下問題:C# BasicMLDataSet.GetEnumerator方法的具體用法?C# BasicMLDataSet.GetEnumerator怎麽用?C# BasicMLDataSet.GetEnumerator使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在BasicMLDataSet的用法示例。


在下文中一共展示了BasicMLDataSet.GetEnumerator方法的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。

示例1: ExportToExcel

 public static void ExportToExcel(BasicMLDataSet data, DataSetEditMode mode)
 {
     object obj2;
     int num;
     int num2;
     int num3;
     int num4;
     int num5;
     int num6;
     bool flag;
     Application application2 = (Application) Activator.CreateInstance(Type.GetTypeFromCLSID(new Guid("00024500-0000-0000-C000-000000000046")));
     goto Label_0FE4;
     Label_0028:
     num2++;
     using (IEnumerator<IMLDataPair> enumerator = data.GetEnumerator())
     {
         IMLDataPair pair;
         goto Label_0040;
     Label_0039:
         num2++;
     Label_0040:
         flag = enumerator.MoveNext();
         if (flag)
         {
             goto Label_0796;
         }
         if (((uint) flag) < 0)
         {
             goto Label_01D4;
         }
         return;
     Label_006A:
         num++;
         num4++;
     Label_0075:
         flag = num4 <= pair.ErrorArray.Length;
     Label_0087:
         if (flag)
         {
             goto Label_01DC;
         }
         if (((uint) num4) >= 0)
         {
             goto Label_07CA;
         }
         goto Label_01FF;
     Label_00A8:;
         <ExportToExcel>o__SiteContainer1.<>p__Site17 = CallSite<Func<CallSite, object, double, object>>.Create(Microsoft.CSharp.RuntimeBinder.Binder.SetMember(CSharpBinderFlags.None, "Value2", typeof(ExcelDataExport), new CSharpArgumentInfo[] { CSharpArgumentInfo.Create(CSharpArgumentInfoFlags.None, null), CSharpArgumentInfo.Create(CSharpArgumentInfoFlags.UseCompileTimeType, null) }));
     Label_00E9:
         if (<ExportToExcel>o__SiteContainer1.<>p__Site18 == null)
         {
開發者ID:neismit,項目名稱:emds,代碼行數:51,代碼來源:ExcelDataExport.cs

示例2: RestoreDataSet

 public BasicMLDataSet RestoreDataSet(BasicMLDataSet dataToProcess)
 {
     BasicMLDataSet set = new BasicMLDataSet();
     using (IEnumerator<IMLDataPair> enumerator = dataToProcess.GetEnumerator())
     {
         IMLDataPair pair;
         bool flag;
         goto Label_0026;
     Label_0011:
         pair = enumerator.Current;
         set.Add(this.RestoreDataVector(pair));
     Label_0026:
         flag = enumerator.MoveNext();
         if (3 == 0)
         {
             goto Label_0026;
         }
         if (flag)
         {
             goto Label_0011;
         }
     }
     return set;
 }
開發者ID:neismit,項目名稱:emds,代碼行數:24,代碼來源:LinearScale.cs

示例3: ProcessDataSet

 public BasicMLDataSet ProcessDataSet(BasicMLDataSet dataToProcess)
 {
     bool flag;
     BasicMLDataSet set = new BasicMLDataSet();
     IEnumerator<IMLDataPair> enumerator = dataToProcess.GetEnumerator();
     try
     {
         IMLDataPair pair;
         goto Label_003E;
     Label_0011:
         pair = enumerator.Current;
         set.Add(new BasicMLDataPair(this.ProcessInputVector(pair.Input), this.ProcessIdealVector(pair.Ideal)));
     Label_003E:
         flag = enumerator.MoveNext();
         if (flag)
         {
             goto Label_0011;
         }
         if ((((uint) flag) - ((uint) flag)) < 0)
         {
             goto Label_003E;
         }
     }
     finally
     {
         flag = enumerator == null;
         goto Label_0089;
     Label_006C:
         enumerator.Dispose();
         if ((((uint) flag) & 0) != 0)
         {
             goto Label_006C;
         }
         goto Label_008D;
     Label_0089:
         if (!flag)
         {
             goto Label_006C;
         }
     Label_008D:;
     }
     return set;
 }
開發者ID:neismit,項目名稱:emds,代碼行數:43,代碼來源:LinearScale.cs


注:本文中的BasicMLDataSet.GetEnumerator方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。