Beispiel #1
0
 public bool Equals(A a, A b)
 {
     if (isnull(a))
     {
         return(isnull(b));
     }
     if (isnull(b))
     {
         return(false);
     }
     if (ReferenceEquals(a, b))
     {
         return(true);
     }
     return(EqClass <A> .Equals(a, b));
 }
Beispiel #2
0
 public static Task <int> GetHashCodeAsync <A>(A x, A y) => EqClass <A> .GetHashCodeAsync(x);
Beispiel #3
0
 public static int GetHashCode <A>(A x, A y) => EqClass <A> .GetHashCode(x);
Beispiel #4
0
 public static Task <bool> EqualsAsync <A>(A x, A y) => EqClass <A> .EqualsAsync(x, y);
Beispiel #5
0
 public static bool Equals <A>(A x, A y) => EqClass <A> .Equals(x, y);