Пример #1
0
        public void ClearMixEntries()
        {
            indexLookupMap.Clear();
            RootMixEntry = null;

            DatabaseManager.Current.DeleteAllMixEntries(MixId);
        }
Пример #2
0
        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;
            }
        }