![]() | ReferenceMapTKey, TValue Methods |
The ReferenceMapTKey, TValue generic type exposes the following members.
Name | Description | |
---|---|---|
![]() | Add(KeyValuePairTKey, TValue) | |
![]() | Add(TKey, TValue) |
Adds an element with the provided key and value to the IDictionaryTKey, TValue.
|
![]() | Clear |
Removes all items from the ICollectionT.
|
![]() | Contains | |
![]() | ContainsKey |
Determines whether the IDictionaryTKey, TValue contains an element with the specified key.
|
![]() | CopyTo | |
![]() | Get(TKey) |
Fetches the value associated with the specified key.
If no value can be found, then default(V) is returned.
|
![]() | Get(TKey, TValue) |
Fetches the value associated with the specified key.
If no value can be found, then the defaultValue is
returned.
|
![]() | GetEnumerator |
Returns an enumerator that iterates through the collection.
|
![]() | Prune |
Removes all 'dead' references that have been added to the
prune list.
|
![]() | Purge |
Removes the left-over weak references for entries in the dictionary
whose key or value has already been reclaimed by the garbage
collector. This will reduce the dictionary's Count by the number
of dead key-value pairs that were eliminated.
|
![]() | Push |
Sets the given key in the dictionary. If the key
already exists, then it is remapped to the new value.
If a value was previously mapped it is returned.
|
![]() | Put |
Sets the given key in the dictionary. If the key
already exists, then it is remapped to thenew value.
|
![]() | PutAll | |
![]() | Remove(KeyValuePairTKey, TValue) | |
![]() | Remove(TKey) |
Removes the element with the specified key from the IDictionaryTKey, TValue.
|
![]() | Remove(TKey, TValue) |
Removes the item from the dictionary that is associated with
the specified key.
|
![]() | RemoveAndReturn |
Removes the item from the dictionary that is associated with
the specified key. The item if found is returned; if not,
default(V) is returned.
|
![]() | TryGetValue |
Tries the get value.
|