/// <inheritdoc /> public override void RemoveMemoryEntry(MemoryIndex index) { if (IndexData.ContainsKey(index)) { tracker.DeletedIndex(index); IndexData.Remove(index); } }
/// <inheritdoc /> public override void RemoveArray(MemoryIndex index, AssociativeArray arrayValue) { arrayDescriptors.Remove(arrayValue); IIndexDefinition data; if (!indexDefinitions.TryGetValue(index, out data)) { data = new CopyIndexDefinition(); } IIndexDefinitionBuilder builder = data.Builder(this); builder.SetArray(null); indexDefinitions[index] = builder.Build(this); GetWriteableStackContext(index.CallLevel).WriteableArrays.Remove(arrayValue); }
/// <inheritdoc /> public override void RemoveArray(MemoryIndex index, AssociativeArray arrayValue) { arrayDescriptors.Remove(arrayValue); IIndexDefinition data; if (!indexDefinitions.TryGetValue(index, out data)) { data = Factories.StructuralContainersFactories.IndexDefinitionFactory.CreateIndexDefinition(this); } IIndexDefinitionBuilder builder = data.Builder(this); builder.SetArray(null); indexDefinitions[index] = builder.Build(this); changeTracker.ModifiedIndex(index); GetWriteableStackContext(index.CallLevel).WriteableArrays.Remove(arrayValue); }
/// <inheritdoc /> public override void RemoveIndex(MemoryIndex index) { indexDefinitions.Remove(index); }
/// <inheritdoc /> public override void RemoveIndex(MemoryIndex index) { indexDefinitions.Remove(index); changeTracker.DeletedIndex(index); }