Click or drag to resize

ProjectionSumTResult Method

Computes the sum of a sequence of values.

Namespace:  SphinxConnector.FluentApi
Assembly:  SphinxConnector (in SphinxConnector.dll) Version: 5.3.0
Syntax
public static TResult Sum<TResult>(
	Expression<Func<TResult>> expression
)

Parameters

expression
Type: System.Linq.ExpressionsExpressionFuncTResult
A function that returns the member to sum.

Type Parameters

TResult
The type of the member.

Return Value

Type: TResult
The computed sum.
Exceptions
ExceptionCondition
ArgumentNullExceptionOccurs when expression is null.
See Also