PostSharpAPI ReferencePost­Sharp.​Patterns.​CollectionsAdvisable­Hash­Set<T>Is­Proper­Superset­Of
Open sandboxFocus

Method IsProperSupersetOf

IsProperSupersetOf(IEnumerable<T>)

Determines whether the current set is a proper (strict) superset of a specified collection.

Declaration
public bool IsProperSupersetOf(IEnumerable<T> other)
Parameters
Type Name Description
IEnumerable<T> other

The collection to compare to the current set.

Returns
Type Description
Boolean

true if the current set is a proper superset of other; otherwise, false.

Exceptions
Type Condition
ArgumentNullException

other is null.