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)
262
/// type <see cref="
IOrderedQueryable
{T}"/> and returned.
270
public static
IOrderedQueryable
<T> Order<T>(this IQueryable<T> source)
274
return (
IOrderedQueryable
<T>)source.Provider.CreateQuery<T>(
277
new Func<IQueryable<T>,
IOrderedQueryable
<T>>(Order).Method,
299
/// type <see cref="
IOrderedQueryable
{T}"/> and returned.
307
public static
IOrderedQueryable
<T> Order<T>(this IQueryable<T> source, IComparer<T> comparer)
311
return (
IOrderedQueryable
<T>)source.Provider.CreateQuery<T>(
314
new Func<IQueryable<T>, IComparer<T>,
IOrderedQueryable
<T>>(Order).Method,
319
public static
IOrderedQueryable
<TSource> OrderBy<TSource, TKey>(this IQueryable<TSource> source, Expression<Func<TSource, TKey>> keySelector)
324
return (
IOrderedQueryable
<TSource>)source.Provider.CreateQuery<TSource>(
327
new Func<IQueryable<TSource>, Expression<Func<TSource, TKey>>,
IOrderedQueryable
<TSource>>(OrderBy).Method,
332
public static
IOrderedQueryable
<TSource> OrderBy<TSource, TKey>(this IQueryable<TSource> source, Expression<Func<TSource, TKey>> keySelector, IComparer<TKey>? comparer)
337
return (
IOrderedQueryable
<TSource>)source.Provider.CreateQuery<TSource>(
340
new Func<IQueryable<TSource>, Expression<Func<TSource, TKey>>, IComparer<TKey>,
IOrderedQueryable
<TSource>>(OrderBy).Method,
361
/// type <see cref="
IOrderedQueryable
{T}"/> and returned.
369
public static
IOrderedQueryable
<T> OrderDescending<T>(this IQueryable<T> source)
373
return (
IOrderedQueryable
<T>)source.Provider.CreateQuery<T>(
376
new Func<IQueryable<T>,
IOrderedQueryable
<T>>(OrderDescending).Method,
398
/// type <see cref="
IOrderedQueryable
{T}"/> and returned.
406
public static
IOrderedQueryable
<T> OrderDescending<T>(this IQueryable<T> source, IComparer<T> comparer)
410
return (
IOrderedQueryable
<T>)source.Provider.CreateQuery<T>(
413
new Func<IQueryable<T>, IComparer<T>,
IOrderedQueryable
<T>>(OrderDescending).Method,
418
public static
IOrderedQueryable
<TSource> OrderByDescending<TSource, TKey>(this IQueryable<TSource> source, Expression<Func<TSource, TKey>> keySelector)
423
return (
IOrderedQueryable
<TSource>)source.Provider.CreateQuery<TSource>(
426
new Func<IQueryable<TSource>, Expression<Func<TSource, TKey>>,
IOrderedQueryable
<TSource>>(OrderByDescending).Method,
431
public static
IOrderedQueryable
<TSource> OrderByDescending<TSource, TKey>(this IQueryable<TSource> source, Expression<Func<TSource, TKey>> keySelector, IComparer<TKey>? comparer)
436
return (
IOrderedQueryable
<TSource>)source.Provider.CreateQuery<TSource>(
439
new Func<IQueryable<TSource>, Expression<Func<TSource, TKey>>, IComparer<TKey>,
IOrderedQueryable
<TSource>>(OrderByDescending).Method,
444
public static
IOrderedQueryable
<TSource> ThenBy<TSource, TKey>(this
IOrderedQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector)
449
return (
IOrderedQueryable
<TSource>)source.Provider.CreateQuery<TSource>(
452
new Func<
IOrderedQueryable
<TSource>, Expression<Func<TSource, TKey>>,
IOrderedQueryable
<TSource>>(ThenBy).Method,
457
public static
IOrderedQueryable
<TSource> ThenBy<TSource, TKey>(this
IOrderedQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector, IComparer<TKey>? comparer)
462
return (
IOrderedQueryable
<TSource>)source.Provider.CreateQuery<TSource>(
465
new Func<
IOrderedQueryable
<TSource>, Expression<Func<TSource, TKey>>, IComparer<TKey>,
IOrderedQueryable
<TSource>>(ThenBy).Method,
470
public static
IOrderedQueryable
<TSource> ThenByDescending<TSource, TKey>(this
IOrderedQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector)
475
return (
IOrderedQueryable
<TSource>)source.Provider.CreateQuery<TSource>(
478
new Func<
IOrderedQueryable
<TSource>, Expression<Func<TSource, TKey>>,
IOrderedQueryable
<TSource>>(ThenByDescending).Method,
483
public static
IOrderedQueryable
<TSource> ThenByDescending<TSource, TKey>(this
IOrderedQueryable
<TSource> source, Expression<Func<TSource, TKey>> keySelector, IComparer<TKey>? comparer)
488
return (
IOrderedQueryable
<TSource>)source.Provider.CreateQuery<TSource>(
491
new Func<
IOrderedQueryable
<TSource>, Expression<Func<TSource, TKey>>, IComparer<TKey>,
IOrderedQueryable
<TSource>>(ThenByDescending).Method,