目錄 / Table of Contents

Delegate OdfFormulaFunctionHandler

Namespace
OdfKit.Formula
Assembly
OdfKit.dll

Evaluates an application-defined spreadsheet function. 評估應用程式定義的試算表函式。

public delegate object OdfFormulaFunctionHandler(IReadOnlyList<object> arguments, IEvaluationContext context)

Parameters

arguments IReadOnlyList<object>

The eagerly evaluated argument values. / 已依序完成評估的引數值。

context IEvaluationContext

The spreadsheet evaluation context. / 試算表評估內容模型。

Returns

object

The function result or an OdfFormulaError. / 函式結果或 OdfFormulaError

Constructors

OdfFormulaFunctionHandler(object, nint)

public OdfFormulaFunctionHandler(object @object, nint method)

Parameters

object object
method nint

Methods

BeginInvoke(IReadOnlyList<object>, IEvaluationContext, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(IReadOnlyList<object> arguments, IEvaluationContext context, AsyncCallback callback, object @object)

Parameters

arguments IReadOnlyList<object>
context IEvaluationContext
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual object EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Returns

object

Invoke(IReadOnlyList<object>, IEvaluationContext)

public virtual object Invoke(IReadOnlyList<object> arguments, IEvaluationContext context)

Parameters

arguments IReadOnlyList<object>
context IEvaluationContext

Returns

object