FunctionUtils.ApplySequenceWithError 方法

定义

生成表达式委托,该委托在验证所有子级后对累积值应用函数。

public static AdaptiveExpressions.EvaluateExpressionDelegate ApplySequenceWithError (Func<System.Collections.Generic.IReadOnlyList<object>,(object, string)> function, AdaptiveExpressions.FunctionUtils.VerifyExpression verify = default);
static member ApplySequenceWithError : Func<System.Collections.Generic.IReadOnlyList<obj>, ValueTuple<obj, string>> * AdaptiveExpressions.FunctionUtils.VerifyExpression -> AdaptiveExpressions.EvaluateExpressionDelegate
Public Shared Function ApplySequenceWithError (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

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

返回

用于计算表达式的委托。

适用于