public void ClearMixEntries() { indexLookupMap.Clear(); RootMixEntry = null; DatabaseManager.Current.DeleteAllMixEntries(MixId); }
internal void AddEntry(MixEntryTable mixEntry) { MixEntryModel newEntry = new MixEntryModel(mixEntry); indexLookupMap.Add(newEntry.EntryId, newEntry); if (newEntry.IsRoot) { DebugHelper.Assert(new CallerInfo(), RootMixEntry == null, "Ran into two root mix entries for the same mix id"); RootMixEntry = newEntry; } }