ProjectionSumTResult Method
Computes the sum of a sequence of values.
Definition
Namespace: SphinxConnector.FluentApi
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
The computed sum.
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.1.0
C#
public static TResult Sum<TResult>(
Expression<Func<TResult>> expression
)
VB
Public Shared Function Sum(Of TResult) (
expression As Expression(Of Func(Of TResult))
) As TResultParameters
- expression ExpressionFuncTResult
- A function that returns the member to sum.
Type Parameters
- TResult
- The type of the member.
Return Value
TResultThe computed sum.
Exceptions
| ArgumentNullException | Occurs when expression is null. |