AdvisableHashSet<T>.IsSupersetOf Method |
Determines whether the current set is a superset of a specified collection.
Namespace: PostSharp.Patterns.Collections
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public bool IsSupersetOf( IEnumerable<T> other )
Parameters
- other
- Type: System.Collections.Generic.IEnumerable<T>
The collection to compare to the current set.
Return Value
Type: Booleantrue if the current set is a superset of other; otherwise, false.
Implements
ISet<T>.IsSupersetOf(IEnumerable<T>)Exception | Condition |
---|---|
ArgumentNullException | other is null. |