public NotesIndexableGenerator(KNotesQueryable queryable, string knotes_file, Hashtable last_modified_table, bool initial_scan) { this.queryable = queryable; this.knotes_file = knotes_file; this.initial_scan = initial_scan; CheckNoteHeader(); if (is_valid_file) { string_builder = new StringBuilder(); } this.last_modified_table = last_modified_table; lock (last_modified_table) { this.deleted_notes = new Hashtable(last_modified_table.Count); foreach (string uid in last_modified_table.Keys) { this.deleted_notes [uid] = true; } } }
public NotesIndexableGenerator (KNotesQueryable queryable, string knotes_file, Hashtable last_modified_table, bool initial_scan) { this.queryable = queryable; this.knotes_file = knotes_file; this.initial_scan = initial_scan; CheckNoteHeader (); if (is_valid_file) string_builder = new StringBuilder (); this.last_modified_table = last_modified_table; lock (last_modified_table) { this.deleted_notes = new Hashtable (last_modified_table.Count); foreach (string uid in last_modified_table.Keys) this.deleted_notes [uid] = true; } }