'Declaration Public Overloads Shared Function LiveAverage(Of TSource)( _ ByVal source As View(Of TSource), _ ByVal selector As Expression(Of Func(Of TSource,Nullable(Of Double))) _ ) As AggregationView(Of TSource,Nullable(Of Double))
public static AggregationView<TSource,Nullable<double>> LiveAverage<TSource>( View<TSource> source, Expression<Func<TSource,Nullable<double>>> selector )
Parameters
- source
- A view containing the values to calculate the average of.
- selector
- A transform function to apply to each element.
Type Parameters
- TSource
- The type of the elements of source.
Return Value
A view representing the average of the values.