Class
FunctionWithSameTypeArguments<T>

Base class for functions requiring all arguments to be of the same type, automatically converting object arguments to the specified type.

Definition

Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions.Functions

Assembly:Telerik.Windows.Documents.Spreadsheet.dll

Type Parameters:

T

The type T of functions arguments.

Syntax:

cs-api-definition
public abstract class FunctionWithSameTypeArguments<T> : FunctionWithArguments

Inheritance: objectFunctionBaseFunctionWithArgumentsFunctionWithSameTypeArguments<T>

Derived Classes: BooleansInFunctionNumbersInFunctionStringsInFunction

Inherited Members FunctionWithArguments.EvaluateOverride(FunctionEvaluationContext<RadExpression>)FunctionBase.Evaluate(FunctionEvaluationContext<RadExpression>)FunctionBase.IsArgumentNumberValid(int)FunctionBase.NameFunctionBase.FunctionInfoFunctionBase.ArgumentConversionRules

Constructors

FunctionWithSameTypeArguments()

Initializes a new function that converts all arguments to the specified type before evaluation.

Declaration

cs-api-definition
protected FunctionWithSameTypeArguments()

Methods

EvaluateOverride(FunctionEvaluationContext<T>)

Override to implement function-specific logic using strongly-typed arguments; called after type conversion.

Declaration

cs-api-definition
protected virtual RadExpression EvaluateOverride(FunctionEvaluationContext<T> context)

Parameters

context

FunctionEvaluationContext<T>

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

cs-api-definition
protected override sealed RadExpression EvaluateOverride(FunctionEvaluationContext<object> context)

Parameters

context

FunctionEvaluationContext<object>

Returns

RadExpression

Functions result as RadExpression.

Overrides FunctionWithArguments.EvaluateOverride(FunctionEvaluationContext<object>)