Share via


FunctionUtils.Apply Method

Definition

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

public static AdaptiveExpressions.EvaluateExpressionDelegate Apply (Func<System.Collections.Generic.IReadOnlyList<object>,object> function, AdaptiveExpressions.FunctionUtils.VerifyExpression verify = default);
static member Apply : Func<System.Collections.Generic.IReadOnlyList<obj>, obj> * AdaptiveExpressions.FunctionUtils.VerifyExpression -> AdaptiveExpressions.EvaluateExpressionDelegate
Public Shared Function Apply (function As Func(Of IReadOnlyList(Of Object), Object), Optional verify As FunctionUtils.VerifyExpression = Nothing) As EvaluateExpressionDelegate

Parameters

function
Func<IReadOnlyList<Object>,Object>

Function to apply.

verify
FunctionUtils.VerifyExpression

Function to check each arg for validity.

Returns

Delegate for evaluating an expression.

Applies to