'Declaration Public Overloads Shared Function LiveSum(Of TSource)( _ ByVal source As View(Of TSource), _ ByVal selector As Expression(Of Func(Of TSource,Single)) _ ) As AggregationView(Of TSource,Single)
public static AggregationView<TSource,float> LiveSum<TSource>( View<TSource> source, Expression<Func<TSource,float>> selector )
Parameters
- source
- A view containing the values to calculate the sum 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 sum of the values.