ImmutableSortedDictionary.CreateRange Método

Definición

Sobrecargas

Nombre Description
CreateRange<TKey,TValue>(IEnumerable<KeyValuePair<TKey,TValue>>)

Crea un diccionario ordenado inmutable que contiene los elementos especificados y usa el comparador predeterminado.

CreateRange<TKey,TValue>(IComparer<TKey>, IEnumerable<KeyValuePair<TKey,TValue>>)

Crea un nuevo diccionario ordenado inmutable a partir del intervalo de elementos especificado con el comparador de claves especificado.

CreateRange<TKey,TValue>(IComparer<TKey>, IEqualityComparer<TValue>, IEnumerable<KeyValuePair<TKey,TValue>>)

Crea un nuevo diccionario ordenado inmutable a partir del intervalo de elementos especificado con los comparadores de clave y valor especificados.

CreateRange<TKey,TValue>(IEnumerable<KeyValuePair<TKey,TValue>>)

Source:
ImmutableSortedDictionary.cs
Source:
ImmutableSortedDictionary.cs
Source:
ImmutableSortedDictionary.cs
Source:
ImmutableSortedDictionary.cs
Source:
ImmutableSortedDictionary.cs
Source:
ImmutableSortedDictionary.cs

Crea un diccionario ordenado inmutable que contiene los elementos especificados y usa el comparador predeterminado.

public:
generic <typename TKey, typename TValue>
 static System::Collections::Immutable::ImmutableSortedDictionary<TKey, TValue> ^ CreateRange(System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<TKey, TValue>> ^ items);
public static System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue> CreateRange<TKey,TValue>(System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey,TValue>> items);
static member CreateRange : seq<System.Collections.Generic.KeyValuePair<'Key, 'Value>> -> System.Collections.Immutable.ImmutableSortedDictionary<'Key, 'Value>
Public Function CreateRange(Of TKey, TValue) (items As IEnumerable(Of KeyValuePair(Of TKey, TValue))) As ImmutableSortedDictionary(Of TKey, TValue)

Parámetros de tipo

TKey

Tipo de claves almacenadas en el diccionario.

TValue

Tipo de valores almacenados en el diccionario.

Parámetros

items
IEnumerable<KeyValuePair<TKey,TValue>>

Elementos que se van a agregar al diccionario ordenado antes de que sea inmutable.

Devoluciones

Diccionario ordenado inmutable que contiene los elementos especificados.

Se aplica a

CreateRange<TKey,TValue>(IComparer<TKey>, IEnumerable<KeyValuePair<TKey,TValue>>)

Source:
ImmutableSortedDictionary.cs
Source:
ImmutableSortedDictionary.cs
Source:
ImmutableSortedDictionary.cs
Source:
ImmutableSortedDictionary.cs
Source:
ImmutableSortedDictionary.cs
Source:
ImmutableSortedDictionary.cs

Crea un nuevo diccionario ordenado inmutable a partir del intervalo de elementos especificado con el comparador de claves especificado.

public:
generic <typename TKey, typename TValue>
 static System::Collections::Immutable::ImmutableSortedDictionary<TKey, TValue> ^ CreateRange(System::Collections::Generic::IComparer<TKey> ^ keyComparer, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<TKey, TValue>> ^ items);
public static System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue> CreateRange<TKey,TValue>(System.Collections.Generic.IComparer<TKey> keyComparer, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey,TValue>> items);
public static System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue> CreateRange<TKey,TValue>(System.Collections.Generic.IComparer<TKey>? keyComparer, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey,TValue>> items);
static member CreateRange : System.Collections.Generic.IComparer<'Key> * seq<System.Collections.Generic.KeyValuePair<'Key, 'Value>> -> System.Collections.Immutable.ImmutableSortedDictionary<'Key, 'Value>
Public Function CreateRange(Of TKey, TValue) (keyComparer As IComparer(Of TKey), items As IEnumerable(Of KeyValuePair(Of TKey, TValue))) As ImmutableSortedDictionary(Of TKey, TValue)

Parámetros de tipo

TKey

Tipo de claves almacenadas en el diccionario.

TValue

Tipo de valores almacenados en el diccionario.

Parámetros

keyComparer
IComparer<TKey>

Implementación del comparador que se va a usar para evaluar las claves de igualdad y ordenación.

items
IEnumerable<KeyValuePair<TKey,TValue>>

Elementos que se van a agregar al diccionario ordenado.

Devoluciones

El nuevo diccionario ordenado inmutable que contiene los elementos especificados y usa el comparador de claves especificado.

Se aplica a

CreateRange<TKey,TValue>(IComparer<TKey>, IEqualityComparer<TValue>, IEnumerable<KeyValuePair<TKey,TValue>>)

Source:
ImmutableSortedDictionary.cs
Source:
ImmutableSortedDictionary.cs
Source:
ImmutableSortedDictionary.cs
Source:
ImmutableSortedDictionary.cs
Source:
ImmutableSortedDictionary.cs
Source:
ImmutableSortedDictionary.cs

Crea un nuevo diccionario ordenado inmutable a partir del intervalo de elementos especificado con los comparadores de clave y valor especificados.

public:
generic <typename TKey, typename TValue>
 static System::Collections::Immutable::ImmutableSortedDictionary<TKey, TValue> ^ CreateRange(System::Collections::Generic::IComparer<TKey> ^ keyComparer, System::Collections::Generic::IEqualityComparer<TValue> ^ valueComparer, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<TKey, TValue>> ^ items);
public static System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue> CreateRange<TKey,TValue>(System.Collections.Generic.IComparer<TKey> keyComparer, System.Collections.Generic.IEqualityComparer<TValue> valueComparer, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey,TValue>> items);
public static System.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue> CreateRange<TKey,TValue>(System.Collections.Generic.IComparer<TKey>? keyComparer, System.Collections.Generic.IEqualityComparer<TValue>? valueComparer, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<TKey,TValue>> items);
static member CreateRange : System.Collections.Generic.IComparer<'Key> * System.Collections.Generic.IEqualityComparer<'Value> * seq<System.Collections.Generic.KeyValuePair<'Key, 'Value>> -> System.Collections.Immutable.ImmutableSortedDictionary<'Key, 'Value>
Public Function CreateRange(Of TKey, TValue) (keyComparer As IComparer(Of TKey), valueComparer As IEqualityComparer(Of TValue), items As IEnumerable(Of KeyValuePair(Of TKey, TValue))) As ImmutableSortedDictionary(Of TKey, TValue)

Parámetros de tipo

TKey

Tipo de claves almacenadas en el diccionario.

TValue

Tipo de valores almacenados en el diccionario.

Parámetros

keyComparer
IComparer<TKey>

Implementación del comparador que se va a usar para comparar las claves de igualdad y ordenación.

valueComparer
IEqualityComparer<TValue>

Implementación del comparador que se va a usar para comparar los valores de igualdad.

items
IEnumerable<KeyValuePair<TKey,TValue>>

Elementos que se van a agregar al diccionario ordenado antes de que sea inmutable.

Devoluciones

Diccionario ordenado inmutable que contiene los elementos especificados y usa los comparadores especificados.

Se aplica a