ImmutableSortedSet<T>.IsProperSupersetOf(IEnumerable<T>) Método
Definição
Determina se o conjunto classificado imutável atual é um superconjunto apropriado de uma coleção especificada.Determines whether the current immutable sorted set is a proper superset of a specified collection.
public:
virtual bool IsProperSupersetOf(System::Collections::Generic::IEnumerable<T> ^ other);
public bool IsProperSupersetOf (System.Collections.Generic.IEnumerable<T> other);
abstract member IsProperSupersetOf : seq<'T> -> bool
override this.IsProperSupersetOf : seq<'T> -> bool
Public Function IsProperSupersetOf (other As IEnumerable(Of T)) As Boolean
Parâmetros
- other
- IEnumerable<T>
A coleção a ser comparada com o conjunto atual.The collection to compare to the current set.
Retornos
true se o conjunto atual for um superconjunto apropriado de other, caso contrário, false.true if the current set is a proper superset of other; otherwise, false.
Implementações
Comentários
Um conjunto vazio é um superconjunto adequado de qualquer outra coleção.An empty set is a proper superset of any other collection. Portanto, esse método retornará true se a coleção representada pelo other parâmetro estiver vazia, a menos que o conjunto atual também esteja vazio.Therefore, this method returns true if the collection represented by the other parameter is empty, unless the current set is also empty.
Pacote NuGet System. Collections. imutávelSystem.Collections.Immutable NuGet package
Sobre coleções imutáveis e como instalarAbout immutable collections and how to install