Share via


FunctionUtils.ApplySequenceWithError Method

Definition

Generate an expression delegate that applies function on the accumulated value after verifying all children.

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

Parameters

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

Function to apply.

verify
FunctionUtils.VerifyExpression

Function to check each arg for validity.

Returns

Delegate for evaluating an expression.

Applies to