Jaa


ComparisonEvaluator Constructor

Definition

Initializes a new instance of the ComparisonEvaluator class.

public ComparisonEvaluator (string type, Func<System.Collections.Generic.IReadOnlyList<object>,bool> function, AdaptiveExpressions.ValidateExpressionDelegate validator, AdaptiveExpressions.FunctionUtils.VerifyExpression verify = default);
new AdaptiveExpressions.BuiltinFunctions.ComparisonEvaluator : string * Func<System.Collections.Generic.IReadOnlyList<obj>, bool> * AdaptiveExpressions.ValidateExpressionDelegate * AdaptiveExpressions.FunctionUtils.VerifyExpression -> AdaptiveExpressions.BuiltinFunctions.ComparisonEvaluator
Public Sub New (type As String, function As Func(Of IReadOnlyList(Of Object), Boolean), validator As ValidateExpressionDelegate, Optional verify As FunctionUtils.VerifyExpression = Nothing)

Parameters

type
String

Name of the built-in function.

function
Func<IReadOnlyList<Object>,Boolean>

The comparison function, it takes a list of objects and returns a boolean.

validator
ValidateExpressionDelegate

Validator of input arguments.

verify
FunctionUtils.VerifyExpression

Optional function to verify each child's result.

Applies to