예제 #1
0
 public Set(IEnumerable <T> items, IEqualityComparer <T> equalityComparer)
 {
     content           = new HashSet <T>(items, equalityComparer);
     _equalityComparer = equalityComparer.Some();
 }
예제 #2
0
 public Set(Set <T> other, IEqualityComparer <T> equalityComparer)
 {
     content           = new HashSet <T>(other, equalityComparer);
     _equalityComparer = equalityComparer.Some();
 }
예제 #3
0
 public Set(IEqualityComparer <T> equalityComparer)
 {
     content           = new HashSet <T>(equalityComparer);
     _equalityComparer = equalityComparer.Some();
 }