ImmutableSortedSet.CreateRange Método

Definição

Sobrecargas

CreateRange<T>(IEnumerable<T>)

Cria uma nova coleção imutável que contém os itens especificados.

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

Cria uma nova coleção imutável que contém os itens especificados.

CreateRange<T>(IEnumerable<T>)

Origem:
ImmutableSortedSet.cs
Origem:
ImmutableSortedSet.cs
Origem:
ImmutableSortedSet.cs

Cria uma nova coleção imutável que contém os itens 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

O tipo de itens armazenados pela coleção.

Parâmetros

items
IEnumerable<T>

Os itens a serem adicionados antes que ele seja imutável.

Retornos

O novo conjunto imutável que contém os itens especificados.

Aplica-se a

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

Origem:
ImmutableSortedSet.cs
Origem:
ImmutableSortedSet.cs
Origem:
ImmutableSortedSet.cs

Cria uma nova coleção imutável que contém os itens 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

O tipo de itens armazenados pela coleção.

Parâmetros

comparer
IComparer<T>

O comparador a ser usado para comparar elementos neste conjunto.

items
IEnumerable<T>

Os itens a serem adicionados ao conjunto antes que ele seja imutável.

Retornos

O novo conjunto imutável que contém os itens especificados.

Aplica-se a