Interface IAggregateFunction
Defines a custom type that may be used for custom value aggregation in data component. The interface needs to be cloneable due to the parallel data processing.
Namespace: Telerik.XamarinForms.Common.Data
Assembly: Telerik.XamarinForms.Common.dll
Syntax
public interface IAggregateFunction
Methods
Accumulate(Object)
Applies the function logic to the provided value - that is the extracted value from the ViewModel.
Declaration
void Accumulate(object value)
Parameters
System.Object
value
|
Clone()
GetValue()
Gets the computed value.
Declaration
object GetValue()
Returns
System.Object
|
Merge(IAggregateFunction)
Merges this function with another one - this is used when Grand Totals are calculated.
Declaration
void Merge(IAggregateFunction aggregateFunction)
Parameters
IAggregateFunction
aggregateFunction
|