ImmutableSortedSet<T>.IsProperSupersetOf(IEnumerable<T>) Méthode

Définition

Détermine si l’ensemble trié immuable actuel est un sur-ensemble approprié de la collection spécifiée.

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

Paramètres

other
IEnumerable<T>

Collection à comparer à l’ensemble actuel.

Retours

true si l’ensemble actuel est un sur-ensemble approprié de other ; sinon, false.

Implémente

Remarques

Un jeu vide est un sur-ensemble approprié de toute autre collection. Par conséquent, cette méthode retourne true si la collection représentée par le other paramètre est vide, sauf si l’ensemble actuel est également vide.

Package NuGet System.Collections.Immutable

À propos des collections immuables et de l’installation

S’applique à