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++; } } }
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++; } } }