ProjectionMaxTResult Method

Computes the maximum of a sequence of values.

Definition

Namespace: SphinxConnector.FluentApi
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
C#
public static TResult Max<TResult>(
	Expression<Func<TResult>> expression
)

Parameters

expression  ExpressionFuncTResult
A function that returns the member to find the maximum for.

Type Parameters

TResult
The type of the member.

Return Value

TResult
The computed maximum.

Exceptions

ArgumentNullExceptionOccurs when expression is null.

See Also