ImmutableSortedDictionary<TKey,TValue>.WithComparers Método

Definición

Sobrecargas

WithComparers(IComparer<TKey>)

Obtiene una instancia del diccionario ordenado inmutable que usa los comparadores de claves especificados.

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

Obtiene una instancia del diccionario ordenado inmutable que usa los comparadores de claves y valores especificados.

WithComparers(IComparer<TKey>)

Source:
ImmutableSortedDictionary_2.cs
Source:
ImmutableSortedDictionary_2.cs
Source:
ImmutableSortedDictionary_2.cs

Obtiene una instancia del diccionario ordenado inmutable que usa los comparadores de claves especificados.

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

Parámetros

keyComparer
IComparer<TKey>

Comparador de claves a utilizar.

Devoluciones

Instancia del diccionario inmutable que usa el comparador especificado.

Se aplica a

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

Source:
ImmutableSortedDictionary_2.cs
Source:
ImmutableSortedDictionary_2.cs
Source:
ImmutableSortedDictionary_2.cs

Obtiene una instancia del diccionario ordenado inmutable que usa los comparadores de claves y valores especificados.

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

Parámetros

keyComparer
IComparer<TKey>

Comparador de claves a utilizar.

valueComparer
IEqualityComparer<TValue>

Comparador de claves a utilizar.

Devoluciones

Instancia del diccionario inmutable que usa los comparadores especificados.

Se aplica a