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

Definição

Adiciona um determinado conjunto de itens a esse conjunto classificado imutável.Adds a given set of items to this immutable sorted set.

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.The items to add.

Retornos

ImmutableSortedSet<T>

O novo conjunto com os itens adicionados; ou o conjunto original se todos os itens já estiverem no conjunto.The new set with the items added; or the original set if all the items were already in the set.

Comentários

Pacote NuGet System. Collections. imutávelSystem.Collections.Immutable NuGet package

Sobre coleções imutáveis e como instalarAbout immutable collections and how to install

Aplica-se a