Class FunctionWithSameTypeArguments<T>
Base class for functions requiring all arguments to be of the same type, automatically converting object arguments to the specified type.
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Expressions.Functions
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public abstract class FunctionWithSameTypeArguments<T> : FunctionWithArguments
Type Parameters
|
T
The type T of functions arguments. |
Constructors
FunctionWithSameTypeArguments()
Initializes a new function that converts all arguments to the specified type before evaluation.
Declaration
protected FunctionWithSameTypeArguments()
Methods
EvaluateOverride(FunctionEvaluationContext<T>)
Override to implement function-specific logic using strongly-typed arguments; called after type conversion.
Declaration
protected virtual RadExpression EvaluateOverride(FunctionEvaluationContext<T> context)
Parameters
|
FunctionEvaluationContext<T>
context
The context. |
Returns
|
RadExpression
Functions result as RadExpression. |
EvaluateOverride(FunctionEvaluationContext<Object>)
Converts object arguments to the specified type and calls the typed evaluation override.
Declaration
protected override sealed RadExpression EvaluateOverride(FunctionEvaluationContext<object> context)
Parameters
|
FunctionEvaluationContext<System.Object>
context
|
Returns
|
RadExpression
Functions result as RadExpression. |