VelocityDbHashSetTIsSupersetOf Method |
Checks if this is a superset of other
Implementation Notes:
The following properties are used up-front to avoid element-wise checks:
1. If other has no elements (it's the empty set), then this is a superset, even if this
is also the empty set.
2. If other has unique elements according to this equality comparer, and this has less
than the number of elements in other, then this can't be a superset
Namespace:
VelocityDb.Collection
Assembly:
VelocityDb (in VelocityDb.dll) Version: 11.1.0.0 (11.1)
Syntax public bool IsSupersetOf(
IEnumerable<T> other
)
Public Function IsSupersetOf (
other As IEnumerable(Of T)
) As Boolean
public:
bool IsSupersetOf(
IEnumerable<T>^ other
)
member IsSupersetOf :
other : IEnumerable<'T> -> bool
Parameters
- other
- Type: System.Collections.GenericIEnumerableT
[Missing <param name="other"/> documentation for "M:VelocityDb.Collection.VelocityDbHashSet`1.IsSupersetOf(System.Collections.Generic.IEnumerable{`0})"]
Return Value
Type:
Booleantrue if this is a superset of other; false if not
See Also