/// <summary> /// Determines whether this set and the specified collection contain the same elements. /// </summary> /// <param name="other"> /// The collection to compare to the current set. /// </param> /// <returns> /// <c>true</c> if this set is equal to <paramref name="other"/>; otherwise, <c>false</c>. /// </returns> /// <exception cref="ArgumentNullException"> /// <paramref name="other"/> is Nothing. /// </exception> public bool SetEquals(IEnumerable <MessagePackObject> other) { return(SetOperation.SetEquals(this, other)); }
/// <summary> /// Determines whether this set is superset of the specified collection. /// </summary> /// <param name="other"> /// The collection to compare to the current set. /// </param> /// <returns> /// <c>true</c> if this set is superset of the specified collection; otherwise, <c>false</c>. /// </returns> /// <exception cref="ArgumentNullException"> /// <paramref name="other"/> is Nothing. /// </exception> public bool IsSupersetOf(IEnumerable <MessagePackObject> other) { return(SetOperation.IsSupersetOf(this, other)); }
/// <summary> /// Determines whether the current set and a specified collection share common elements. /// </summary> /// <param name="other"> /// The collection to compare to the current set. /// </param> /// <returns> /// <c>true</c> if this set and <paramref name="other"/> share at least one common element; otherwise, <c>false</c>. /// </returns> /// <exception cref="ArgumentNullException"> /// <paramref name="other"/> is Nothing. /// </exception> public bool Overlaps(IEnumerable <MessagePackObject> other) { return(SetOperation.Overlaps(this, other)); }
public bool IsProperSubsetOf(IEnumerable <MessagePackObject> other) { return(SetOperation.IsProperSubsetOf <MessagePackObject>(this, other)); }