Esempio n. 1
0
 public bool Equals(Pair <TFirst, TSecond> x, Pair <TFirst, TSecond> y)
 {
     return(_firstComparer.Equals(x.First, y.First) && _secondComparer.Equals(x.Second, y.Second));
 }
Esempio n. 2
0
 public int GetHashCode(Pair <TFirst, TSecond> source)
 {
     return(source.GetHashCode());
 }
Esempio n. 3
0
 public bool Equals(Pair <TFirst, TSecond> other)
 {
     return(first.Equals(other.first) && second.Equals(other.second));
 }