FunctionUtils.ApplyWithOptionsAndError 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 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.
Function to check each arg for validity.
Returns
Delegate for evaluating an expression.