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