示例#1
0
        /// <inheritdoc />
        public override void SetMemoryEntry(MemoryIndex index, MemoryEntry memoryEntry)
        {
            if (IndexData.ContainsKey(index))
            {
                tracker.ModifiedIndex(index);
            }
            else
            {
                tracker.InsertedIndex(index);
            }

            IndexData[index] = memoryEntry;
        }
示例#2
0
 /// <inheritdoc />
 public override bool IsDefined(MemoryIndex index)
 {
     return(indexDefinitions.ContainsKey(index));
 }