ImmutableDictionary<TKey,TValue>.WithComparers ImmutableDictionary<TKey,TValue>.WithComparers ImmutableDictionary<TKey,TValue>.WithComparers ImmutableDictionary<TKey,TValue>.WithComparers Method

Definizione

Overload

WithComparers(IEqualityComparer<TKey>) WithComparers(IEqualityComparer<TKey>) WithComparers(IEqualityComparer<TKey>) WithComparers(IEqualityComparer<TKey>)

Ottiene un'istanza del dizionario non modificabile che usa l'operatore di confronto della chiave specificato.Gets an instance of the immutable dictionary that uses the specified key comparer.

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

Ottiene un'istanza del dizionario non modificabile che usa gli operatori di confronto della chiave e del valore specificati.Gets an instance of the immutable dictionary that uses the specified key and value comparers.

WithComparers(IEqualityComparer<TKey>) WithComparers(IEqualityComparer<TKey>) WithComparers(IEqualityComparer<TKey>) WithComparers(IEqualityComparer<TKey>)

Ottiene un'istanza del dizionario non modificabile che usa l'operatore di confronto della chiave specificato.Gets an instance of the immutable dictionary that uses the specified key comparer.

public:
 System::Collections::Immutable::ImmutableDictionary<TKey, TValue> ^ WithComparers(System::Collections::Generic::IEqualityComparer<TKey> ^ keyComparer);
public System.Collections.Immutable.ImmutableDictionary<TKey,TValue> WithComparers (System.Collections.Generic.IEqualityComparer<TKey> keyComparer);
member this.WithComparers : System.Collections.Generic.IEqualityComparer<'Key> -> System.Collections.Immutable.ImmutableDictionary<'Key, 'Value>
Public Function WithComparers (keyComparer As IEqualityComparer(Of TKey)) As ImmutableDictionary(Of TKey, TValue)

Parametri

keyComparer
IEqualityComparer<TKey>

Operatore di confronto della chiave da usare.The key comparer to use.

Restituisce

Istanza del dizionario non modificabile che usa l'operatore di confronto specificato.An instance of the immutable dictionary that uses the given comparer.

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

Ottiene un'istanza del dizionario non modificabile che usa gli operatori di confronto della chiave e del valore specificati.Gets an instance of the immutable dictionary that uses the specified key and value comparers.

public:
 System::Collections::Immutable::ImmutableDictionary<TKey, TValue> ^ WithComparers(System::Collections::Generic::IEqualityComparer<TKey> ^ keyComparer, System::Collections::Generic::IEqualityComparer<TValue> ^ valueComparer);
public System.Collections.Immutable.ImmutableDictionary<TKey,TValue> WithComparers (System.Collections.Generic.IEqualityComparer<TKey> keyComparer, System.Collections.Generic.IEqualityComparer<TValue> valueComparer);
member this.WithComparers : System.Collections.Generic.IEqualityComparer<'Key> * System.Collections.Generic.IEqualityComparer<'Value> -> System.Collections.Immutable.ImmutableDictionary<'Key, 'Value>
Public Function WithComparers (keyComparer As IEqualityComparer(Of TKey), valueComparer As IEqualityComparer(Of TValue)) As ImmutableDictionary(Of TKey, TValue)

Parametri

keyComparer
IEqualityComparer<TKey>

Operatore di confronto della chiave da usare.The key comparer to use.

valueComparer
IEqualityComparer<TValue>

Operatore di confronto del valore da usare.The value comparer to use.

Restituisce

Istanza del dizionario non modificabile che usa gli operatori di confronto specificati.An instance of the immutable dictionary that uses the given comparers.

Si applica a