Skip to main content

FunctionWrapper.Evaluate(IList<ParameterValue>, EvaluationContext) Method

Override this method to calculate the function as needed.

Namespace: DevExpress.Spreadsheet.Functions

Assembly: DevExpress.Spreadsheet.v24.1.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

public virtual ParameterValue Evaluate(
    IList<ParameterValue> parameters,
    EvaluationContext context
)

Parameters

Name Type Description
parameters IList<ParameterValue>

A IList<T><ParameterValue,> object containing parameters passed to the function.

context EvaluationContext

An EvaluationContext object containing information on the cell and worksheet in which the function is being calculated.

Returns

Type Description
ParameterValue

A ParameterValue object that is the calculated value.

Remarks

Make sure that the method returns the ParameterValue

See Also