Table of Contents

Method SetEquals

Namespace
Skyline.DataMiner.Core.DataMinerSystem.Common
Assembly
Skyline.DataMiner.Core.DataMinerSystem.Common.dll

SetEquals(IEnumerable<IDmsView>)

Determines whether this object and the specified collection contain the same items.

public bool SetEquals(IEnumerable<IDmsView> other)

Parameters

other IEnumerable<IDmsView>

The collection to compare to the current object.

Returns

bool

true if this set is equal to other; otherwise, false.

Remarks

The SetEquals method ignores duplicate entries and the order of items in the other parameter.

If the collection represented by other is a collection with the same equality comparer as the current object, this method is an O(n) operation. Otherwise, this method is an O(n + m) operation, where n is the number of items in other and m is Count.

Exceptions

ArgumentNullException

other is null.