Class DictionaryComparer<TKey, TValue>
An equality comparer that requires the sequence of keys and values to match
Inheritance
DictionaryComparer<TKey, TValue>
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
public class DictionaryComparer<TKey, TValue> : EnumerableComparer<KeyValuePair<TKey, TValue>>, IEqualityComparer<IEnumerable<KeyValuePair<TKey, TValue>>>, IEqualityComparer<ICollection<KeyValuePair<TKey, TValue>>>, IEqualityComparer<Dictionary<TKey, TValue>>
Type Parameters
Name |
Description |
TKey |
|
TValue |
|
Methods
Equals(Dictionary<TKey, TValue>, Dictionary<TKey, TValue>)
Declaration
public bool Equals(Dictionary<TKey, TValue> x, Dictionary<TKey, TValue> y)
Parameters
Returns
GetHashCode(Dictionary<TKey, TValue>)
Declaration
public int GetHashCode(Dictionary<TKey, TValue> obj)
Parameters
Type |
Name |
Description |
Dictionary<TKey, TValue> |
obj |
|
Returns
Implements