Base class for spreadsheet functions that accept arguments, handling argument conversion, validation, and typed evaluation.
Definition
Namespace:Telerik.Documents.Spreadsheet.Expressions.Functions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public abstract class FunctionWithArguments : FunctionBase
Inheritance: objectFunctionBaseFunctionWithArguments
Derived Classes:
Inherited Members
Constructors
Initializes a new function that validates and converts arguments before evaluation.
protected FunctionWithArguments()
Methods
Evaluates a single element during pointwise array lifting by applying argument conversion rules to the scalar element and then calling the typed EvaluateOverride(FunctionEvaluationContext<object>).
protected override ConstantExpression EvaluateLiftedElement(FunctionEvaluationContext<RadExpression> context, RadExpression[] resolvedArgs, int row, int col)
Overrides:
Override to implement function-specific logic using converted object arguments; called after argument conversion.
protected virtual RadExpression EvaluateOverride(FunctionEvaluationContext<object> context)
The context.
Returns:Functions result as RadExpression.
Evaluates the function by converting expression arguments to typed values according to argument definitions and then calling the typed evaluation override.
protected override sealed RadExpression EvaluateOverride(FunctionEvaluationContext<RadExpression> context)
The context.
Returns:Function result as RadExpression.
Overrides: