ClassAverage
Implements the AVERAGE function, which calculates the arithmetic mean of numeric arguments.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions.Functions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class Average : NumbersInFunction
Inheritance: objectFunctionBaseFunctionWithArgumentsFunctionWithSameTypeArguments<double>NumbersInFunctionAverage
Inherited Members
Constructors
Average()
Initializes a new instance of the AVERAGE function.
Declaration
public Average()
Fields
FunctionName
The name of the function.
Properties
ArgumentConversionRules
Gets the argument conversion rules.
Declaration
public override ArgumentConversionRules ArgumentConversionRules { get; }
Property Value
The argument conversion rules.
Overrides
FunctionInfo
Gets the function info.
Declaration
public override FunctionInfo FunctionInfo { get; }
Property Value
The function info as FunctionInfo.
Overrides
Methods
EvaluateOverride(FunctionEvaluationContext<double>)
Evaluates the AVERAGE function and returns the arithmetic mean of the arguments.
Declaration
protected override RadExpression EvaluateOverride(FunctionEvaluationContext<double> context)
Parameters
context
FunctionEvaluationContext<double>
The context.
Returns
Functions result as RadExpression.
Overrides