AsyncQueryableSingleOrDefaultTSource Method (IAsyncQueryableTSource, ExpressionFuncTSource, Boolean, CancellationToken) |
Namespace: System.Linq
public static Task<TSource> SingleOrDefault<TSource>( this IAsyncQueryable<TSource> source, Expression<Func<TSource, bool>> predicate, CancellationToken cancellationToken )