예제 #1
0
 private void populateFromResults(HashSet <Hashtable> results)
 {
     if (results.Count > 0)
     {
         this.entries = new StatementEntry[results.Count];
         int counter = 0;
         foreach (Hashtable table in results)
         {
             StatementEntry entry = new StatementEntry(table);
             this.entries[counter] = entry;
             if (counter == 0)
             {
                 firstentrydate = entry.DateTime;
             }
             counter++;
         }
     }
 }
예제 #2
0
 private void populateFromResults(HashSet<Hashtable> results)
 {
     if (results.Count > 0)
     {
         this.entries = new StatementEntry[results.Count];
         int counter = 0;
         foreach (Hashtable table in results)
         {
             StatementEntry entry = new StatementEntry(table);
             this.entries[counter] = entry;
             if (counter == 0) firstentrydate = entry.DateTime;
             counter++;
         }
     }
 }