1 implementation of IOrderedQueryable
System.Linq.Queryable (1)
System\Linq\EnumerableQuery.cs (1)
37
public class EnumerableQuery<T> : EnumerableQuery,
IOrderedQueryable
<T>, IQueryProvider
58 references to IOrderedQueryable
Microsoft.AspNetCore.Components.QuickGrid (6)
Columns\GridSort.cs (6)
17
private readonly Func<IQueryable<TGridItem>, bool,
IOrderedQueryable
<TGridItem>> _first;
18
private List<Func<
IOrderedQueryable
<TGridItem>, bool,
IOrderedQueryable
<TGridItem>>>? _then;
26
internal GridSort(Func<IQueryable<TGridItem>, bool,
IOrderedQueryable
<TGridItem>> first, (LambdaExpression, bool) firstExpression)
88
internal
IOrderedQueryable
<TGridItem> Apply(IQueryable<TGridItem> queryable, bool ascending)
90
var
orderedQueryable = _first(queryable, ascending);
netstandard (1)
netstandard.cs (1)
1033
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Linq.
IOrderedQueryable
<>))]
System.Core (1)
System.Core.cs (1)
171
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Linq.
IOrderedQueryable
<>))]
System.Linq.Queryable (50)
System\Linq\EnumerableRewriter.cs (2)
165
else if (genericType == typeof(
IOrderedQueryable
<>))
180
.Where(i => i.GenType == typeof(
IOrderedQueryable
<>) || i.GenType == typeof(IOrderedEnumerable<>))
System\Linq\Queryable.cs (48)
294
/// type <see cref="
IOrderedQueryable
{T}"/> and returned.
302
public static
IOrderedQueryable
<T> Order<T>(this IQueryable<T> source)
306
return (
IOrderedQueryable
<T>)source.Provider.CreateQuery<T>(
309
new Func<IQueryable<T>,
IOrderedQueryable
<T>>(Order).Method,
331
/// type <see cref="
IOrderedQueryable
{T}"/> and returned.
339
public static
IOrderedQueryable
<T> Order<T>(this IQueryable<T> source, IComparer<T> comparer)
343
return (
IOrderedQueryable
<T>)source.Provider.CreateQuery<T>(
346
new Func<IQueryable<T>, IComparer<T>,
IOrderedQueryable
<T>>(Order).Method,
351
public static
IOrderedQueryable
<TSource> OrderBy<TSource, TKey>(this IQueryable<TSource> source, Expression<Func<TSource, TKey>> keySelector)
356
return (
IOrderedQueryable
<TSource>)source.Provider.CreateQuery<TSource>(
359
new Func<IQueryable<TSource>, Expression<Func<TSource, TKey>>,
IOrderedQueryable
<TSource>>(OrderBy).Method,
364
public static
IOrderedQueryable
<TSource> OrderBy<TSource, TKey>(this IQueryable<TSource> source, Expression<Func<TSource, TKey>> keySelector, IComparer<TKey>? comparer)
369
return (
IOrderedQueryable
<TSource>)source.Provider.CreateQuery<TSource>(
372
new Func<IQueryable<TSource>, Expression<Func<TSource, TKey>>, IComparer<TKey>,
IOrderedQueryable
<TSource>>(OrderBy).Method,
393
/// type <see cref="
IOrderedQueryable
{T}"/> and returned.
401
public static
IOrderedQueryable
<T> OrderDescending<T>(this IQueryable<T> source)
405
return (
IOrderedQueryable
<T>)source.Provider.CreateQuery<T>(
408
new Func<IQueryable<T>,
IOrderedQueryable
<T>>(OrderDescending).Method,
430
/// type <see cref="
IOrderedQueryable
{T}"/> and returned.
438
public static
IOrderedQueryable
<T> OrderDescending<T>(this IQueryable<T> source, IComparer<T> comparer)
442
return (
IOrderedQueryable
<T>)source.Provider.CreateQuery<T>(
445
new Func<IQueryable<T>, IComparer<T>,
IOrderedQueryable
<T>>(OrderDescending).Method,
450
public static
IOrderedQueryable
<TSource> OrderByDescending<TSource, TKey>(this IQueryable<TSource> source, Expression<Func<TSource, TKey>> keySelector)
455
return (
IOrderedQueryable
<TSource>)source.Provider.CreateQuery<TSource>(
458
new Func<IQueryable<TSource>, Expression<Func<TSource, TKey>>,
IOrderedQueryable
<TSource>>(OrderByDescending).Method,
463
public static
IOrderedQueryable
<TSource> OrderByDescending<TSource, TKey>(this IQueryable<TSource> source, Expression<Func<TSource, TKey>> keySelector, IComparer<TKey>? comparer)
468
return (
IOrderedQueryable
<TSource>)source.Provider.CreateQuery<TSource>(
471
new Func<IQueryable<TSource>, Expression<Func<TSource, TKey>>, IComparer<TKey>,
IOrderedQueryable
<TSource>>(OrderByDescending).Method,
508
public static
IOrderedQueryable
<TSource> ThenBy<TSource, TKey>(this
IOrderedQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector)
513
return (
IOrderedQueryable
<TSource>)source.Provider.CreateQuery<TSource>(
516
new Func<
IOrderedQueryable
<TSource>, Expression<Func<TSource, TKey>>,
IOrderedQueryable
<TSource>>(ThenBy).Method,
521
public static
IOrderedQueryable
<TSource> ThenBy<TSource, TKey>(this
IOrderedQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector, IComparer<TKey>? comparer)
526
return (
IOrderedQueryable
<TSource>)source.Provider.CreateQuery<TSource>(
529
new Func<
IOrderedQueryable
<TSource>, Expression<Func<TSource, TKey>>, IComparer<TKey>,
IOrderedQueryable
<TSource>>(ThenBy).Method,
534
public static
IOrderedQueryable
<TSource> ThenByDescending<TSource, TKey>(this
IOrderedQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector)
539
return (
IOrderedQueryable
<TSource>)source.Provider.CreateQuery<TSource>(
542
new Func<
IOrderedQueryable
<TSource>, Expression<Func<TSource, TKey>>,
IOrderedQueryable
<TSource>>(ThenByDescending).Method,
547
public static
IOrderedQueryable
<TSource> ThenByDescending<TSource, TKey>(this
IOrderedQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector, IComparer<TKey>? comparer)
552
return (
IOrderedQueryable
<TSource>)source.Provider.CreateQuery<TSource>(
555
new Func<
IOrderedQueryable
<TSource>, Expression<Func<TSource, TKey>>, IComparer<TKey>,
IOrderedQueryable
<TSource>>(ThenByDescending).Method,