 | ProjectionAvgTSource Method |
Computes the average of a sequence of values.
Namespace: SphinxConnector.FluentApiAssembly: SphinxConnector (in SphinxConnector.dll) Version: 6.0.0
Syntaxpublic static float Avg<TSource>(
Expression<Func<TSource>> expression
)
Public Shared Function Avg(Of TSource) (
expression As Expression(Of Func(Of TSource))
) As Single
Parameters
- expression ExpressionFuncTSource
- A function that returns the member to compute the average for.
Type Parameters
- TSource
- The type of the member.
Return Value
SingleThe computed average.
Exceptions
See Also