Skip to content

Methods_T_Ekstrand_Collections_Generic_TwoKeyDictionary_3

Fred Ekstrand edited this page Aug 4, 2020 · 2 revisions

TwoKeyDictionary(TKeyA, TKeyB, TValue) Methods

The TwoKeyDictionary(TKeyA, TKeyB, TValue) generic type exposes the following members.

Methods

 

Name Description
Public method Add(TwoKeyValueTriple(TKeyA, TKeyB, TValue)) Adds the specified value to the ICollection with the specified key.
Public method Add(Object, Object, Object) Adds the specified key and value to the dictionary.
Public method Add(TKeyA, TKeyB, TValue) Adds the specified key and value to the dictionary.
Public method Clear Removes all keys and values from the Dictionary<TKeyA,TKeyB,TValue>.
Public method Contains(Object) The key to locate in the IDictionary.
Public method Contains(TwoKeyValueTriple(TKeyA, TKeyB, TValue)) Determines whether the ICollection contains a specific key and value.
Public method ContainsKeyA Determines whether the Dictionary<TKeyA,TKeyB,TValue> contains the specified A-key.
Public method ContainsKeyB Determines whether the Dictionary<TKeyA,TKeyB,TValue> contains the specified B-key.
Public method ContainsValue Determines whether the Dictionary<TKeyA,TKeyB,TValue> contains a specific value.
Public method CopyTo(Array, Int32) Copies the elements of the ICollection to an array, starting at the specified array index.
Public method CopyTo(TwoKeyValueTriple(TKeyA, TKeyB, TValue)[], Int32) Copies the elements of the ICollection to an array of type TwoKeyValueTriple<TKeyA,TKeyB,TValue>, starting at the specified array index.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetEnumerator Returns an enumerator that iterates through the Dictionary<TKeyA,TKeyB,TValue>.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetObjectData Implements the ISerializable interface and returns the data needed to serialize the Dictionary<TKeyA,TKeyB,TValue> instance.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method OnDeserialization Implements the ISerializable interface and raises the deserialization event when the deserialization is complete.
Public method Remove(Object) Removes the element with the specified key from the IDictionary.
Public method Remove(TKeyA) Removes the value with the specified A-key from the Dictionary<TKeyA,TKeyB,TValue>.
Public method Remove(TKeyB) Removes the value with the specified B-key from the Dictionary<TKeyA,TKeyB,TValue>.
Public method Remove(TwoKeyValueTriple(TKeyA, TKeyB, TValue)) Removes a A-key, B-key and value from the dictionary.
Public method RemoveKeyA Removes the value with the specified A-key from the Dictionary<TKeyA,TKeyB,TValue>.
Public method RemoveKeyB Removes the value with the specified B-key from the Dictionary<TKeyA,TKeyB,TValue>.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method TryGetValueKeyA Gets the value associated with the specified A-key.
Public method TryGetValueKeyB Gets the value associated with the specified B-key.
  Back to Top

Explicit Interface Implementations

 

Name Description
Explicit interface implementationPrivate method IEnumerable.GetEnumerator Returns an enumerator that iterates through the Dictionary<TKeyA,TKeyB,TValue>.
Explicit interface implementationPrivate method ITwoKeyDictionary.GetEnumerator Returns an IDictionaryEnumerator for the IDictionary.
  Back to Top

See Also

Reference

TwoKeyDictionary(TKeyA, TKeyB, TValue) Class
Ekstrand.Collections.Generic Namespace

Clone this wiki locally