ClassFunctionEvaluationContext<T>
Encapsulates the context for function evaluation, including arguments, worksheet reference, and cell position where the function is invoked.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Expressions.Functions
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Type Parameters:
T
Type of the arguments.
Syntax:
public class FunctionEvaluationContext<T>
Inheritance: objectFunctionEvaluationContext<T>
Constructors
FunctionEvaluationContext(T[], Worksheet, int, int, FunctionExpression)
Initializes a new FunctionEvaluationContext<T> with the specified arguments, worksheet reference, and cell coordinates for function evaluation.
Declaration
public FunctionEvaluationContext(T[] arguments, Worksheet worksheet, int rowIndex, int columnIndex, FunctionExpression functionExpression = null)
Parameters
arguments
T[]
The arguments.
worksheet
The worksheet.
rowIndex
Index of the row.
columnIndex
Index of the column.
functionExpression
The expression that is being evaluated.
Properties
Arguments
Provides the array of arguments passed to the function for evaluation.
Declaration
public T[] Arguments { get; }
Property Value
T[]
The arguments.
ColumnIndex
Returns the zero-based column index of the cell containing the function.
Declaration
public int ColumnIndex { get; }
Property Value
The index of the column.
RowIndex
Returns the zero-based row index of the cell containing the function.