Пример #1
0
 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));
 }
Пример #2
0
 public static Task <int> GetHashCodeAsync <A>(A x, A y) => EqAsyncClass <A> .GetHashCodeAsync(x);
Пример #3
0
 public static Task <bool> EqualsAsync <A>(A x, A y) => EqAsyncClass <A> .EqualsAsync(x, y);