UnorderedDictionaryComparer<TKey,TValue> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Compares two dictionaries as equal if they contain the same key-value pairs, independent of their order when enumerated.
public class UnorderedDictionaryComparer<TKey,TValue> : System.Collections.Generic.IEqualityComparer<System.Collections.Generic.Dictionary<TKey,TValue>>
type UnorderedDictionaryComparer<'Key, 'Value> = class
interface IEqualityComparer<Dictionary<'Key, 'Value>>
Public Class UnorderedDictionaryComparer(Of TKey, TValue)
Implements IEqualityComparer(Of Dictionary(Of TKey, TValue))
Type Parameters
- TKey
- TValue
- Inheritance
-
UnorderedDictionaryComparer<TKey,TValue>
- Implements
-
IEqualityComparer<Dictionary<TKey,TValue>>
Constructors
UnorderedDictionaryComparer<TKey,TValue>(IEqualityComparer<TValue>) |
Properties
Default |
Methods
Equals(Dictionary<TKey,TValue>, Dictionary<TKey,TValue>) | |
GetHashCode(Dictionary<TKey,TValue>) |