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

Definición

Determina si el conjunto ordenado inmutable actual es un supraconjunto apropiado de una colección especificada.

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>

Colección que se va a comparar con el conjunto actual.

Devoluciones

true si el conjunto actual es un supraconjunto apropiado de other; en caso contrario, false.

Implementaciones

Comentarios

Un conjunto vacío es un superconjunto adecuado de cualquier otra colección. Por lo tanto, este método devuelve true si la colección representada por el other parámetro está vacía, a menos que el conjunto actual también esté vacío.

Paquete NuGet System.Collections.Immutable

Acerca de las colecciones inmutables y cómo instalar

Se aplica a