AggregateResult
Definition
Namespace:Kendo.Mvc.Infrastructure
Assembly:Kendo.Mvc.dll
Syntax:
public class AggregateResult
Inheritance: objectAggregateResult
Inherited Members
Constructors
Initializes a new instance of the AggregateResult class.
public AggregateResult(AggregateFunction function)
AggregateFunction that generated the result.
Exceptions: ArgumentNullExceptionfunction is null.
Initializes a new instance of the AggregateResult class.
public AggregateResult(object value, AggregateFunction function)
The value of the result.
functionAggregateFunctionAggregateFunction that generated the result.
Initializes a new instance of the AggregateResult class.
public AggregateResult(object value, int count, AggregateFunction function)
The value of the result.
countintThe number of arguments used for the calculation of the result.
functionAggregateFunctionFunction that generated the result.
Exceptions: ArgumentNullExceptionfunction is null.
Properties
public string AggregateMethodName { get; }
Gets or sets the text which serves as a caption for the result in a user interface..
public string Caption { get; }
The text which serves as a caption for the result in a user interface.
Gets the formatted value of the result.
public object FormattedValue { get; }
The formatted value of the result.
Gets the name of the function.
public string FunctionName { get; }
The name of the function.
Gets or sets the number of arguments used for the calulation of the result.
public int ItemCount { get; set; }
The number of arguments used for the calulation of the result.