The following tables list the members exposed by SafeDictionary<TKey,TValue>.
Name | Description | |
---|---|---|
SafeDictionary<TKey,TValue> Constructor |
Name | Description | |
---|---|---|
Count | Gets the number of key/value pairs in the dictionary | |
IsReadOnly | Returns whether the dictionary is read only | |
Item | Gets or sets the value associated with the specified key. | |
Keys | Returns the collection of keys | |
Values | Gets the collection containing the values |
Name | Description | |
---|---|---|
Add | Overloaded. Adds the specified key and value to the dictionary | |
CheckAndAdd | Overloaded. Check if the key exists in the dictionary, if not adds the value | |
Clear | Removes all keys and values from the dictionary | |
Contains | Check whether the dictionary contains the specific item | |
ContainsKey | Check if the dictionary contains the specified key | |
CopyTo | Copies the dictionary KeyCollection elements to an existing one-dimensional System.Array, starting at the specified array index. | |
GetEnumerator | Returns an enumerator that iterates through the collection. | |
Remove | Overloaded. Removes from the dictionary item with the specified key | |
TryGetValue | Gets the value with the specified key |
View on GitHub