ImmutableSortedSet Classe

Definição

Fornece um conjunto de métodos de inicialização para instâncias da classe ImmutableSortedSet<T>.Provides a set of initialization methods for instances of the ImmutableSortedSet<T> class.

Pacote NuGet: System.Collections.Immutable (sobre coleções imutáveis e como instalá-las)NuGet package: System.Collections.Immutable (about immutable collections and how to install)

public ref class ImmutableSortedSet abstract sealed
public static class ImmutableSortedSet
type ImmutableSortedSet = class
Public Module ImmutableSortedSet
Herança
ImmutableSortedSet

Métodos

Create<T>()

Cria um conjunto classificado imutável vazio.Creates an empty immutable sorted set.

Create<T>(IComparer<T>)

Cria um conjunto classificado imutável vazio que usa o comparador especificado.Creates an empty immutable sorted set that uses the specified comparer.

Create<T>(IComparer<T>, T)

Cria um novo conjunto classificado imutável que contém o item especificado e usa o comparador especificado.Creates a new immutable sorted set that contains the specified item and uses the specified comparer.

Create<T>(IComparer<T>, T[])

Cria um novo conjunto classificado imutável que contém a matriz de itens especificada e usa o comparador especificado.Creates a new immutable sorted set that contains the specified array of items and uses the specified comparer.

Create<T>(T)

Cria um novo conjunto classificado imutável que contém o item especificado.Creates a new immutable sorted set that contains the specified item.

Create<T>(T[])

Cria um novo conjunto classificado imutável que contém a matriz de itens especificada.Creates a new immutable sorted set that contains the specified array of items.

CreateBuilder<T>()

Retorna uma coleção que pode ser usada para construir um conjunto classificado imutável.Returns a collection that can be used to build an immutable sorted set.

CreateBuilder<T>(IComparer<T>)

Retorna uma coleção que pode ser usada para construir um conjunto classificado imutável.Returns a collection that can be used to build an immutable sorted set.

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

Cria uma nova coleção imutável que contém os itens especificados.Creates a new immutable collection that contains the specified items.

CreateRange<T>(IEnumerable<T>)

Cria uma nova coleção imutável que contém os itens especificados.Creates a new immutable collection that contains the specified items.

ToImmutableSortedSet<TSource>(IEnumerable<TSource>)

Enumera uma sequência e produz um conjunto classificado imutável de seu conteúdo.Enumerates a sequence and produces an immutable sorted set of its contents.

ToImmutableSortedSet<TSource>(IEnumerable<TSource>, IComparer<TSource>)

Enumera uma sequência, produz um conjunto classificado imutável de seu conteúdo e usa o comparador especificado.Enumerates a sequence, produces an immutable sorted set of its contents, and uses the specified comparer.

ToImmutableSortedSet<TSource>(ImmutableSortedSet<TSource>.Builder)

Cria um conjunto classificado imutável do conteúdo atual do conjunto do construtor.Creates an immutable sorted set from the current contents of the builder's set.

Aplica-se a

Acesso thread-safe

Este tipo é thread-safe.This type is thread safe.