PostSharp4.3//API Reference/Post­Sharp.​Patterns.​Collections Namespace/Advisable­Hash­Set(T) Class/Advisable­Hash­Set(T) Methods/Advisable­Hash­Set(T).​Is­Subset­Of Method
AdvisableHashSet<T>.IsSubsetOf Method
Determines whether a set is a subset of a specified collection.

Namespace: PostSharp.Patterns.Collections
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 4.3.48.0 (4.3.48.0)
Syntax
C#
public bool IsSubsetOf(
	IEnumerable<T> other
)

Parameters

other
Type: System.Collections.Generic.IEnumerable<T>
The collection to compare to the current set.

Return Value

Type: Boolean
true if the current set is a subset of other; otherwise, false.

Implements

ISet<T>.IsSubsetOf(IEnumerable<T>)
Exceptions
ExceptionCondition
ArgumentNullExceptionother is null.
See Also