Click or drag to resize

EvaluatorGroup.Parameterize<TResult> Method (IEvaluator<TResult>)

Parameterizes an evaluator with zero parameters.

Namespace:  AGI.Foundation
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.1.421.0 (25.1.421.0)
Syntax
public ParameterizedEvaluator<TResult> Parameterize<TResult>(
	IEvaluator<TResult> evaluatorToParameterize
)

Parameters

evaluatorToParameterize
Type: AGI.Foundation.IEvaluator<TResult>
The evaluator to parameterize.

Type Parameters

TResult
The type of the result of evaluating the evaluator.

Return Value

Type: ParameterizedEvaluator<TResult>
An evaluator that can be evaluated with the given parameters.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when evaluatorToParameterize is null.
See Also