Share via


FunctionUtils.ApplyWithOptionsAndError Method

Definition

Generate an expression delegate that applies function after verifying all children.

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

Parameters

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

Function to apply.

verify
FunctionUtils.VerifyExpression

Function to check each arg for validity.

Returns

Delegate for evaluating an expression.

Applies to