UnorderedDictionaryComparer<TKey,TValue> Class

Definition

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

Constructors

UnorderedDictionaryComparer<TKey,TValue>(IEqualityComparer<TValue>)

Properties

Default

Methods

Equals(Dictionary<TKey,TValue>, Dictionary<TKey,TValue>)
GetHashCode(Dictionary<TKey,TValue>)

Applies to