 | ProjectionSumTResult Method |
Computes the sum of a sequence of values.
Namespace: SphinxConnector.FluentApiAssembly: SphinxConnector (in SphinxConnector.dll) Version: 6.0.0
Syntaxpublic static TResult Sum<TResult>(
Expression<Func<TResult>> expression
)
Public Shared Function Sum(Of TResult) (
expression As Expression(Of Func(Of TResult))
) As TResult
Parameters
- expression ExpressionFuncTResult
- A function that returns the member to sum.
Type Parameters
- TResult
- The type of the member.
Return Value
TResultThe computed sum.
Exceptions
See Also