共用方式為


FunctionUtils.ApplyWithError 方法

定義

產生運算式委派,此委派會在驗證所有子系之後套用函式。

public static AdaptiveExpressions.EvaluateExpressionDelegate ApplyWithError (Func<System.Collections.Generic.IReadOnlyList<object>,(object, string)> function, AdaptiveExpressions.FunctionUtils.VerifyExpression verify = default);
static member ApplyWithError : Func<System.Collections.Generic.IReadOnlyList<obj>, ValueTuple<obj, string>> * AdaptiveExpressions.FunctionUtils.VerifyExpression -> AdaptiveExpressions.EvaluateExpressionDelegate
Public Shared Function ApplyWithError (function As Func(Of IReadOnlyList(Of Object), ValueTuple(Of Object, String)), Optional verify As FunctionUtils.VerifyExpression = Nothing) As EvaluateExpressionDelegate

參數

function
Func<IReadOnlyList<Object>,ValueTuple<Object,String>>

要套用的函式。

verify
FunctionUtils.VerifyExpression

用來檢查每個引數有效性的函式。

傳回

評估運算式的委派。

適用於