public virtual IQueryable <TSource> TakeWhile <TSource>(IQueryable <TSource> source, Expression <Func <TSource, Int32, Boolean> > predicate) { return(Queryable.TakeWhile <TSource>(source, predicate)); }
/// <inheritdoc cref="Queryable.TakeWhile{TSource}(IQueryable{TSource}, Expression{Func{TSource, int, bool}})" /> public static IQueryableAndAsyncQueryable <TSource> TakeWhile <TSource>(this IQueryableAndAsyncQueryable <TSource> source, Expression <Func <TSource, int, bool> > predicate) { return((IQueryableAndAsyncQueryable <TSource>)Queryable.TakeWhile <TSource>(source, predicate)); }