Class FunctionWithArguments
Base class for spreadsheet functions that accept arguments, handling argument conversion, validation, and typed evaluation.
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Expressions.Functions
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public abstract class FunctionWithArguments : FunctionBase
Constructors
FunctionWithArguments()
Initializes a new function that validates and converts arguments before evaluation.
Declaration
protected FunctionWithArguments()
Methods
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
|
FunctionEvaluationContext<System.Object>
context
The context. |
Returns
|
RadExpression
Functions result as RadExpression. |
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
|
FunctionEvaluationContext<RadExpression>
context
The context. |
Returns
|
RadExpression
Function result as RadExpression. |