ImmutableSortedSet.CreateRange Método

Definición

Sobrecargas

CreateRange<T>(IEnumerable<T>)

Crea una nueva colección inmutable que contiene los elementos especificados.

CreateRange<T>(IComparer<T>, IEnumerable<T>)

Crea una nueva colección inmutable que contiene los elementos especificados.

CreateRange<T>(IEnumerable<T>)

Source:
ImmutableSortedSet.cs
Source:
ImmutableSortedSet.cs
Source:
ImmutableSortedSet.cs

Crea una nueva colección inmutable que contiene los elementos especificados.

public:
generic <typename T>
 static System::Collections::Immutable::ImmutableSortedSet<T> ^ CreateRange(System::Collections::Generic::IEnumerable<T> ^ items);
public static System.Collections.Immutable.ImmutableSortedSet<T> CreateRange<T> (System.Collections.Generic.IEnumerable<T> items);
static member CreateRange : seq<'T> -> System.Collections.Immutable.ImmutableSortedSet<'T>
Public Function CreateRange(Of T) (items As IEnumerable(Of T)) As ImmutableSortedSet(Of T)

Parámetros de tipo

T

Tipo de elementos ordenados por colección.

Parámetros

items
IEnumerable<T>

Elementos que se van a agregar al conjunto antes de que se convierta en inmutable.

Devoluciones

Nuevo conjunto inmutable que contiene los elementos especificados.

Se aplica a

CreateRange<T>(IComparer<T>, IEnumerable<T>)

Source:
ImmutableSortedSet.cs
Source:
ImmutableSortedSet.cs
Source:
ImmutableSortedSet.cs

Crea una nueva colección inmutable que contiene los elementos especificados.

public:
generic <typename T>
 static System::Collections::Immutable::ImmutableSortedSet<T> ^ CreateRange(System::Collections::Generic::IComparer<T> ^ comparer, System::Collections::Generic::IEnumerable<T> ^ items);
public static System.Collections.Immutable.ImmutableSortedSet<T> CreateRange<T> (System.Collections.Generic.IComparer<T> comparer, System.Collections.Generic.IEnumerable<T> items);
public static System.Collections.Immutable.ImmutableSortedSet<T> CreateRange<T> (System.Collections.Generic.IComparer<T>? comparer, System.Collections.Generic.IEnumerable<T> items);
static member CreateRange : System.Collections.Generic.IComparer<'T> * seq<'T> -> System.Collections.Immutable.ImmutableSortedSet<'T>
Public Function CreateRange(Of T) (comparer As IComparer(Of T), items As IEnumerable(Of T)) As ImmutableSortedSet(Of T)

Parámetros de tipo

T

Tipo de elementos ordenados por colección.

Parámetros

comparer
IComparer<T>

Comparador que se va a utilizar para comparar elementos de este conjunto.

items
IEnumerable<T>

Elementos que se van a agregar al conjunto antes de que se convierta en inmutable.

Devoluciones

Nuevo conjunto inmutable que contiene los elementos especificados.

Se aplica a