Class FunctionBase
Abstract class providing methods and properties for creating an RadSpreadsheet function.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Documents.Spreadsheet.Expressions.Functions
Assembly: Telerik.Windows.Documents.Spreadsheet.dll
Syntax
public abstract class FunctionBase
Constructors
FunctionBase()
Declaration
protected FunctionBase()
Properties
ArgumentConversionRules
Gets the argument conversion rules.
Declaration
public virtual ArgumentConversionRules ArgumentConversionRules { get; }
Property Value
ArgumentConversionRules
The argument conversion rules. |
FunctionInfo
Gets the function info.
Declaration
public abstract FunctionInfo FunctionInfo { get; }
Property Value
FunctionInfo
The function info. |
Name
Gets the name of the function.
Declaration
public abstract string Name { get; }
Property Value
System.String
The name. |
Methods
Evaluate(FunctionEvaluationContext<RadExpression>)
Evaluates the function with the specified arguments.
Declaration
public RadExpression Evaluate(FunctionEvaluationContext<RadExpression> context)
Parameters
FunctionEvaluationContext<RadExpression>
context
The context. |
Returns
RadExpression
Function result as RadExpression. |
EvaluateOverride(FunctionEvaluationContext<RadExpression>)
Virtual method that evaluates the function with the specified context.
Declaration
protected virtual RadExpression EvaluateOverride(FunctionEvaluationContext<RadExpression> context)
Parameters
FunctionEvaluationContext<RadExpression>
context
The context. |
Returns
RadExpression
Function result as RadExpression. |
IsArgumentNumberValid(Int32)
Determines whether arguments number is valid.
Declaration
public bool IsArgumentNumberValid(int argumentsCount)
Parameters
System.Int32
argumentsCount
The arguments count. |
Returns
System.Boolean
Boolean indicating whether the arguments number is valid. |