共用方式為


FunctionUtils.ApplyWithOptionsAndError 方法

定義

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

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

參數

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

要套用的函式。

verify
FunctionUtils.VerifyExpression

函式,檢查每個引數是否有效。

傳回

評估運算式的委派。

適用於