New to Telerik Document ProcessingStart a free 30-day trial

Base class for spreadsheet functions that accept arguments, handling argument conversion, validation, and typed evaluation.

Definition

Constructors

Initializes a new function that validates and converts arguments before evaluation.

C#
protected FunctionWithArguments()

Methods

Override to implement function-specific logic using converted object arguments; called after argument conversion.

C#
protected virtual RadExpression EvaluateOverride(FunctionEvaluationContext<object> context)
Parameters:contextFunctionEvaluationContext<object>

The context.

Returns:

RadExpression

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.

C#
protected override sealed RadExpression EvaluateOverride(FunctionEvaluationContext<RadExpression> context)
Parameters:contextFunctionEvaluationContext<RadExpression>

The context.

Returns:

RadExpression

Function result as RadExpression.

Overrides: FunctionBase.EvaluateOverride(FunctionEvaluationContext<RadExpression>)