ImmutableSortedSet<T>.Union(IEnumerable<T>) Método

Definição

Adiciona um determinado conjunto de itens a esse conjunto classificado imutável.

public:
 System::Collections::Immutable::ImmutableSortedSet<T> ^ Union(System::Collections::Generic::IEnumerable<T> ^ other);
public System.Collections.Immutable.ImmutableSortedSet<T> Union (System.Collections.Generic.IEnumerable<T> other);
member this.Union : seq<'T> -> System.Collections.Immutable.ImmutableSortedSet<'T>
Public Function Union (other As IEnumerable(Of T)) As ImmutableSortedSet(Of T)

Parâmetros

other
IEnumerable<T>

Os itens a serem adicionados.

Retornos

O novo conjunto com os itens adicionados; ou o conjunto original se todos os itens já estiverem no conjunto.

Comentários

Pacote NuGet System.Collections.Imutable

Sobre coleções imutáveis e como instalar

Aplica-se a