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.Gets an instance of the immutable sorted dictionary that uses the specified key comparer.

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

Obtiene una instancia del diccionario ordenado inmutable que usa los comparadores de claves y valores especificados.Gets an instance of the immutable sorted dictionary that uses the specified key and value comparers.

WithComparers(IComparer<TKey>)

Obtiene una instancia del diccionario ordenado inmutable que usa los comparadores de claves especificados.Gets an instance of the immutable sorted dictionary that uses the specified key comparer.

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.The key comparer to use.

Devoluciones

Instancia del diccionario inmutable que usa el comparador especificado.An instance of the immutable dictionary that uses the given comparer.

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

Obtiene una instancia del diccionario ordenado inmutable que usa los comparadores de claves y valores especificados.Gets an instance of the immutable sorted dictionary that uses the specified key and value comparers.

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.The key comparer to use.

valueComparer
IEqualityComparer<TValue>

Comparador de claves a utilizar.The value comparer to use.

Devoluciones

Instancia del diccionario inmutable que usa los comparadores especificados.An instance of the immutable dictionary that uses the given comparers.

Se aplica a