public MockSet(Drexel.Collections.Generic.ISet <T> set)
     : this(
         set.Add,
         set.Clear,
         set.Contains,
         set.CopyTo,
         () => set.Count,
         set.Equals,
         set.ExceptWith,
         set.GetEnumerator,
         set.GetHashCode,
         set.IntersectWith,
         set.IsProperSubsetOf,
         set.IsProperSupersetOf,
         () => set.IsReadOnly,
         set.IsSubsetOf,
         set.IsSupersetOf,
         set.Overlaps,
         set.Remove,
         set.SetEquals,
         set.SymmetricExceptWith,
         set.ToString,
         set.UnionWith)
 {
 }
Example #2
0
 /// <inheritdoc/>
 public bool Equals(Drexel.Collections.Generic.ISet <T> other)
 {
     return(base.Equals(other));
 }
Example #3
0
 /// <inheritdoc/>
 public bool Equals(Drexel.Collections.Generic.ISet <T> other) => this.adapter.Equals(other);