Click or drag to resize

EvaluatorGroup.Parameterize<TParameter1, TParameter2, TParameter3, TResult> Method (IValueEvaluator<TResult>, IEvaluatorParameter<TParameter1>, IEvaluatorParameter<TParameter2>, IEvaluatorParameter<TParameter3>, ParameterAction)

Parameterizes an evaluator with three parameters.

Namespace:  AGI.Foundation
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public ParameterizedValueEvaluator3<TParameter1, TParameter2, TParameter3, TResult> Parameterize<TParameter1, TParameter2, TParameter3, TResult>(
	IValueEvaluator<TResult> evaluatorToParameterize,
	IEvaluatorParameter<TParameter1> parameter1,
	IEvaluatorParameter<TParameter2> parameter2,
	IEvaluatorParameter<TParameter3> parameter3,
	ParameterAction parameterAction
)

Parameters

evaluatorToParameterize
Type: AGI.Foundation.Infrastructure.IValueEvaluator<TResult>
The evaluator to parameterize.
parameter1
Type: AGI.Foundation.Infrastructure.IEvaluatorParameter<TParameter1>
The value of the first parameter.
parameter2
Type: AGI.Foundation.Infrastructure.IEvaluatorParameter<TParameter2>
The value of the second parameter.
parameter3
Type: AGI.Foundation.Infrastructure.IEvaluatorParameter<TParameter3>
The value of the third parameter.
parameterAction
Type: AGI.Foundation.Infrastructure.ParameterAction
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.
TResult
The type of the result of evaluating the evaluator.

Return Value

Type: ParameterizedValueEvaluator3<TParameter1, TParameter2, TParameter3, TResult>
An evaluator that can be evaluated with the given parameters.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when evaluatorToParameterize, parameter1, parameter2, or parameter3 is null.
See Also