Method DeferredMax
DeferredMax<TSource>(IQueryable<TSource>)
This method is the deferred implementation of the extension method
Declaration
public static QueryDeferred<TSource> DeferredMax<TSource>(this IQueryable<TSource> source)
Parameters
Type | Name | Description |
---|---|---|
IQueryable<TSource> | source | A sequence of values to determine the maximum of. |
Returns
Type | Description |
---|---|
QueryDeferred<TSource> | The maximum value in the sequence. |
Type Parameters
Name | Description |
---|---|
TSource | The type of the elements of source. |
DeferredMax<TSource, TResult>(IQueryable<TSource>, Expression<Func<TSource, TResult>>)
This method is the deferred implementation of the extension method
Declaration
public static QueryDeferred<TResult> DeferredMax<TSource, TResult>(this IQueryable<TSource> source, Expression<Func<TSource, TResult>> selector)
Parameters
Type | Name | Description |
---|---|---|
IQueryable<TSource> | source | A sequence of values to determine the maximum of. |
Expression<Func<TSource, TResult>> | selector |
Returns
Type | Description |
---|---|
QueryDeferred<TResult> | The maximum value in the sequence. |
Type Parameters
Name | Description |
---|---|
TSource | The type of the elements of source. |
TResult |