Click or drag to resize
OrderedSetTIsEqualTo Method
Determines if this set is equal to another set. This set is equal to otherSet if they contain the same items.

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

Parameters

otherSet
Type: X3Platform.CollectionsOrderedSetT
Set to compare to

Return Value

Type: Boolean
True if this set is equal to otherSet, false otherwise.
Exceptions
ExceptionCondition
InvalidOperationExceptionThis set and otherSet don't use the same method for comparing items.
Remarks
IsEqualTo is computed in time O(N), where N is the number of items in this set.
See Also