/// <inheritdoc /> public override void NewIndex(MemoryIndex index) { // TODO: allocation-abstraction hack // see SnapshotBase.CreateObject if (indexDefinitions.ContainsKey(index)) { return; } IIndexDefinition data = Factories.StructuralContainersFactories.IndexDefinitionFactory.CreateIndexDefinition(this); indexDefinitions.Add(index, data); changeTracker.InsertedIndex(index); }
/// <inheritdoc /> public override void NewIndex(MemoryIndex index) { CopyIndexDefinition data = new CopyIndexDefinition(); indexDefinitions.Add(index, data); }