Click or drag to resize

EvaluatorGroupParameterizeTParameter1, TParameter2, TResult Method (IValueEvaluatorTResult, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2)

Parameterizes an evaluator with two parameters.

Namespace:  AGI.Foundation
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public ParameterizedValueEvaluator2<TParameter1, TParameter2, TResult> Parameterize<TParameter1, TParameter2, TResult>(
	IValueEvaluator<TResult> evaluatorToParameterize,
	IEvaluatorParameter<TParameter1> parameter1,
	IEvaluatorParameter<TParameter2> parameter2
)

Parameters

evaluatorToParameterize
Type: AGI.Foundation.InfrastructureIValueEvaluatorTResult
The evaluator to parameterize.
parameter1
Type: AGI.Foundation.InfrastructureIEvaluatorParameterTParameter1
The first parameter.
parameter2
Type: AGI.Foundation.InfrastructureIEvaluatorParameterTParameter2
The second parameter.

Type Parameters

TParameter1
The type of the first parameter.
TParameter2
The type of the second parameter.
TResult
The type of the result of evaluating the evaluator.

Return Value

Type: ParameterizedValueEvaluator2TParameter1, TParameter2, TResult
An evaluator that can be evaluated with the given parameters.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when evaluatorToParameterize, parameter1, or parameter2 is .
See Also