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