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

用于检查每个参数的有效性的函数。

返回

用于计算表达式的委托。

适用于