Click or drag to resize

DoubleDictionaryTKey, TKeySecondary, TValue Class

A generic dictionary requiring two keys to lookup values
Inheritance Hierarchy
SystemObject
  WeatherSystem.InternalDoubleDictionaryTKey, TKeySecondary, TValue

Namespace:  WeatherSystem.Internal
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
[SerializableAttribute]
public class DoubleDictionary<TKey, TKeySecondary, TValue> : IEnumerable<KeyKeyValuePair<TKey, TKeySecondary, TValue>>, 
	IEnumerable

Type Parameters

TKey
The primary key type
TKeySecondary
The secondary key type
TValue
The value type

The DoubleDictionaryTKey, TKeySecondary, TValue type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyCount
The number of elements stored in the DoubleDictionary
Public propertyItem
Access the value stored with the given keys
Public propertyPrimaryKeyCount
The number of primary keys stored in the DoubleDictionary
Top
Methods
  NameDescription
Public methodAdd
Add a value with the given keys
Public methodCleanEmpty
Removes any primary keys that internally hold an empty secondary key dictionary
Public methodContainsKey(TKey)
Checks if the dictionary contains the given primary key
Public methodContainsKey(TKey, TKeySecondary)
Checks if the dictionary has a value stored with the given key pair
Public methodContainsValue
Checks the DoubleDictionary for a given value
Public methodGetEnumerator
Gets the iteration enumerator for each key,key,value set
Public methodRemove
Remove an element from the DoubleDictionary
Public methodSecondaryKeyCount
The number of secondary keys stored for a given primary key
Public methodTryGetValue
Try to get a value with the given keys
Public methodTryReverseLookup
Attempt to find a Key,Key pair for a given value
Top
See Also