'Declaration Public Overloads Shared Function LiveAverage(Of TSource)( _ ByVal source As View(Of TSource), _ ByVal selector As Expression(Of Func(Of TSource,Decimal)) _ ) As AggregationView(Of TSource,Decimal)
public static AggregationView<TSource,decimal> LiveAverage<TSource>( View<TSource> source, Expression<Func<TSource,decimal>> 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.