public async Task <bool> EqualsAsync(A a, A b)
 {
     if (isnull(a))
     {
         return(isnull(b));
     }
     if (isnull(b))
     {
         return(false);
     }
     if (ReferenceEquals(a, b))
     {
         return(true);
     }
     return(await EqAsyncClass <A> .EqualsAsync(a, b).ConfigureAwait(false));
 }
Beispiel #2
0
 public static Task <int> GetHashCodeAsync <A>(A x, A y) => EqAsyncClass <A> .GetHashCodeAsync(x);
Beispiel #3
0
 public static Task <bool> EqualsAsync <A>(A x, A y) => EqAsyncClass <A> .EqualsAsync(x, y);