Share via


FunctionUtils.EvaluateChildren Method

Definition

Evaluate expression children and return them.

public static (System.Collections.Generic.IReadOnlyList<object>, string error) EvaluateChildren (AdaptiveExpressions.Expression expression, AdaptiveExpressions.Memory.IMemory state, AdaptiveExpressions.Options options, AdaptiveExpressions.FunctionUtils.VerifyExpression verify = default);
static member EvaluateChildren : AdaptiveExpressions.Expression * AdaptiveExpressions.Memory.IMemory * AdaptiveExpressions.Options * AdaptiveExpressions.FunctionUtils.VerifyExpression -> ValueTuple<System.Collections.Generic.IReadOnlyList<obj>, string>
Public Shared Function EvaluateChildren (expression As Expression, state As IMemory, options As Options, Optional verify As FunctionUtils.VerifyExpression = Nothing) As ValueTuple(Of IReadOnlyList(Of Object), String)

Parameters

expression
Expression

Expression with children.

state
IMemory

Global state.

options
Options

Options used in evaluation.

verify
FunctionUtils.VerifyExpression

Optional function to verify each child's result.

Returns

List of child values or error message.

Applies to