Click or drag to resize
OrderedSetTIsProperSupersetOf Method
Determines if this set is a proper superset of another set. Neither set is modified. This set is a proper superset of otherSet if every element in otherSet is also in this set. Additionally, this set must have strictly more items than otherSet.

Namespace: X3Platform.Collections
Assembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
public bool IsProperSupersetOf(
	OrderedSet<T> otherSet
)

Parameters

otherSet
Type: X3Platform.CollectionsOrderedSetT
OrderedSet to compare to.

Return Value

Type: Boolean
True if this is a proper superset of otherSet.
Exceptions
ExceptionCondition
InvalidOperationExceptionThis set and otherSet don't use the same method for comparing items.
Remarks
IsProperSupersetOf is computed in time O(M log N), where M is the number of unique items in otherSet.
See Also