DoubleDictionaryTKey, TKeySecondary, TValue Class |
Namespace: WeatherSystem.Internal
[SerializableAttribute] public class DoubleDictionary<TKey, TKeySecondary, TValue> : IEnumerable<KeyKeyValuePair<TKey, TKeySecondary, TValue>>, IEnumerable
The DoubleDictionaryTKey, TKeySecondary, TValue type exposes the following members.
| Name | Description | |
|---|---|---|
| DoubleDictionaryTKey, TKeySecondary, TValue |
Instantiate an empty DoubleDictionary
|
| Name | Description | |
|---|---|---|
| Count |
The number of elements stored in the DoubleDictionary
| |
| Item |
Access the value stored with the given keys
| |
| PrimaryKeyCount |
The number of primary keys stored in the DoubleDictionary
|
| Name | Description | |
|---|---|---|
| Add |
Add a value with the given keys
| |
| CleanEmpty |
Removes any primary keys that internally hold an empty secondary key dictionary
| |
| ContainsKey(TKey) |
Checks if the dictionary contains the given primary key
| |
| ContainsKey(TKey, TKeySecondary) |
Checks if the dictionary has a value stored with the given key pair
| |
| ContainsValue |
Checks the DoubleDictionary for a given value
| |
| GetEnumerator |
Gets the iteration enumerator for each key,key,value set
| |
| Remove |
Remove an element from the DoubleDictionary
| |
| SecondaryKeyCount |
The number of secondary keys stored for a given primary key
| |
| TryGetValue |
Try to get a value with the given keys
| |
| TryReverseLookup |
Attempt to find a Key,Key pair for a given value
|