Table of Contents

Method IsSupersetOf

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

IsSupersetOf(IEnumerable<IDmsView>)

Determines whether this object is a superset of the specified collection.

public bool IsSupersetOf(IEnumerable<IDmsView> other)

Parameters

other IEnumerable<IDmsView>

The collection to compare to the current object.

Returns

bool

true if the object is a superset of other; otherwise, false.

Remarks

All collections, including the empty set, are supersets of the empty set. Therefore, this method returns true if the collection represented by the other parameter is empty, even if the current object is empty.

This method always returns false if Count is less than the number of items in other.

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.