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