InternalRemove method

void InternalRemove(
  1. TKey key
)
Remove entry based on key. The key.

Implementation

void InternalRemove(TKey key) {
//            TEntry entry;

  if (this._entries.containsKey(key)) {
    TEntry entry = this._entries[key]!;
    entry.removeChangeEvent(this._EntryChanged);

    this._entries.remove(key);
    this._removedEntries[key] = entry;

    this.Changed();
  }

  this._addedEntries.remove(key);
  this._modifiedEntries.remove(key);
}