EvaluatorGroupParameterizeTParameter1, TResult Method (IEvaluatorTResult, IEvaluatorParameterTParameter1) |
Parameterizes an evaluator with one parameter.
Namespace:
AGI.Foundation
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public ParameterizedEvaluator1<TParameter1, TResult> Parameterize<TParameter1, TResult>(
IEvaluator<TResult> evaluatorToParameterize,
IEvaluatorParameter<TParameter1> parameter1
)
Public Function Parameterize(Of TParameter1, TResult) (
evaluatorToParameterize As IEvaluator(Of TResult),
parameter1 As IEvaluatorParameter(Of TParameter1)
) As ParameterizedEvaluator1(Of TParameter1, TResult)
public:
generic<typename TParameter1, typename TResult>
ParameterizedEvaluator1<TParameter1, TResult>^ Parameterize(
IEvaluator<TResult>^ evaluatorToParameterize,
IEvaluatorParameter<TParameter1>^ parameter1
)
member Parameterize :
evaluatorToParameterize : IEvaluator<'TResult> *
parameter1 : IEvaluatorParameter<'TParameter1> -> ParameterizedEvaluator1<'TParameter1, 'TResult>
Parameters
- evaluatorToParameterize
- Type: AGI.FoundationIEvaluatorTResult
The evaluator to parameterize. - parameter1
- Type: AGI.Foundation.InfrastructureIEvaluatorParameterTParameter1
The first parameter.
Type Parameters
- TParameter1
- The type of the first parameter.
- TResult
- The type of the result of evaluating the evaluator.
Return Value
Type:
ParameterizedEvaluator1TParameter1,
TResultAn evaluator that can be evaluated with the given parameters.
Exceptions See Also