Click or drag to resize

ProjectionAvgTSource Method

Computes the average of a sequence of values.

Namespace: SphinxConnector.FluentApi
Assembly: SphinxConnector (in SphinxConnector.dll) Version: 6.0.0
Syntax
public static float Avg<TSource>(
	Expression<Func<TSource>> expression
)

Parameters

expression  ExpressionFuncTSource
A function that returns the member to compute the average for.

Type Parameters

TSource
The type of the member.

Return Value

Single
The computed average.
Exceptions
ExceptionCondition
ArgumentNullExceptionOccurs when expression is null.
See Also