 | ProjectionSumTResult Method |
Computes the sum of a sequence of values.
Namespace:
SphinxConnector.FluentApi
Assembly:
SphinxConnector (in SphinxConnector.dll) Version: 5.4.1
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
- Type: System.Linq.ExpressionsExpressionFuncTResult
A function that returns the member to sum.
Type Parameters
- TResult
- The type of the member.
Return Value
Type:
TResultThe computed sum.
Exceptions
See Also