FunctionUtils.ApplySequenceWithError Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
Function to check each arg for validity.
Returns
Delegate for evaluating an expression.