Click or drag to resize

EvaluatorGroupParameterizeTParameter1, TParameter2, TParameter3, TParameter4, TParameter5, TResult Method (IEvaluatorTResult, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3, IEvaluatorParameterTParameter4, IEvaluatorParameterTParameter5, ParameterAction)

Parameterizes an evaluator with five parameters.

Namespace:  AGI.Foundation
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public ParameterizedEvaluator5<TParameter1, TParameter2, TParameter3, TParameter4, TParameter5, TResult> Parameterize<TParameter1, TParameter2, TParameter3, TParameter4, TParameter5, TResult>(
	IEvaluator<TResult> evaluatorToParameterize,
	IEvaluatorParameter<TParameter1> parameter1,
	IEvaluatorParameter<TParameter2> parameter2,
	IEvaluatorParameter<TParameter3> parameter3,
	IEvaluatorParameter<TParameter4> parameter4,
	IEvaluatorParameter<TParameter5> parameter5,
	ParameterAction parameterAction
)

Parameters

evaluatorToParameterize
Type: AGI.FoundationIEvaluatorTResult
The evaluator to parameterize.
parameter1
Type: AGI.Foundation.InfrastructureIEvaluatorParameterTParameter1
The value of the first parameter.
parameter2
Type: AGI.Foundation.InfrastructureIEvaluatorParameterTParameter2
The value of the second parameter.
parameter3
Type: AGI.Foundation.InfrastructureIEvaluatorParameterTParameter3
The value of the third parameter.
parameter4
Type: AGI.Foundation.InfrastructureIEvaluatorParameterTParameter4
The value of the fourth parameter.
parameter5
Type: AGI.Foundation.InfrastructureIEvaluatorParameterTParameter5
The value of the fifth parameter.
parameterAction
Type: AGI.Foundation.InfrastructureParameterAction
Indicates whether an exception should be thrown if any of the specified parameters are not actually parameters to the evaluatorToParameterize.

Type Parameters

TParameter1
The type of the first parameter.
TParameter2
The type of the second parameter.
TParameter3
The type of the third parameter.
TParameter4
The type of the fourth parameter.
TParameter5
The type of the fifth parameter.
TResult
The type of the result of evaluating the evaluator.

Return Value

Type: ParameterizedEvaluator5TParameter1, TParameter2, TParameter3, TParameter4, TParameter5, TResult
An evaluator that can be evaluated with the given parameters.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when evaluatorToParameterize, parameter1, parameter2, parameter3, parameter4, or parameter5 is .
See Also