Hash<TKey, TValue>

Namespace: uModCollections

Assembly: uMod.Core.dll

Inheritance Object Hash<TKey,TValue>

Implements IDictionary<TKey, TValue>, ICollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>, IEnumerable

Summary

A dictionary which returns null for non-existent keys and removes keys when setting an index to null.

Constructors

Name

Summary

Hash ()

Create a new hash dictionary object

Properties

Name

Summary

Count

IsReadOnly

Item [ TKey ]

Get a value from the hash dictionary

Keys

Values

Methods

Name

Summary

Add (TKey, TValue)

Add (KeyValuePair<TKey, TValue>)

Clear ()

Clear all values from the hash dictionary

Contains (KeyValuePair<TKey, TValue>)

ContainsKey (TKey)

CopyTo (KeyValuePair[]<TKey, TValue>, Int32)

GetEnumerator ()

Get an enumerator for the hash dictionary

Remove (TKey)

Remove (KeyValuePair<TKey, TValue>)

TryGetValue (TKey, out TValue)