EvaluatorGroupParameterizeTParameter1, TParameter2, TParameter3, TParameter4, TResult Method (IEvaluatorTResult, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3, IEvaluatorParameterTParameter4) |
Parameterizes an evaluator with four parameters.
Namespace:
AGI.Foundation
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public ParameterizedEvaluator4<TParameter1, TParameter2, TParameter3, TParameter4, TResult> Parameterize<TParameter1, TParameter2, TParameter3, TParameter4, TResult>(
IEvaluator<TResult> evaluatorToParameterize,
IEvaluatorParameter<TParameter1> parameter1,
IEvaluatorParameter<TParameter2> parameter2,
IEvaluatorParameter<TParameter3> parameter3,
IEvaluatorParameter<TParameter4> parameter4
)
Public Function Parameterize(Of TParameter1, TParameter2, TParameter3, TParameter4, TResult) (
evaluatorToParameterize As IEvaluator(Of TResult),
parameter1 As IEvaluatorParameter(Of TParameter1),
parameter2 As IEvaluatorParameter(Of TParameter2),
parameter3 As IEvaluatorParameter(Of TParameter3),
parameter4 As IEvaluatorParameter(Of TParameter4)
) As ParameterizedEvaluator4(Of TParameter1, TParameter2, TParameter3, TParameter4, TResult)
public:
generic<typename TParameter1, typename TParameter2, typename TParameter3, typename TParameter4, typename TResult>
ParameterizedEvaluator4<TParameter1, TParameter2, TParameter3, TParameter4, TResult>^ Parameterize(
IEvaluator<TResult>^ evaluatorToParameterize,
IEvaluatorParameter<TParameter1>^ parameter1,
IEvaluatorParameter<TParameter2>^ parameter2,
IEvaluatorParameter<TParameter3>^ parameter3,
IEvaluatorParameter<TParameter4>^ parameter4
)
member Parameterize :
evaluatorToParameterize : IEvaluator<'TResult> *
parameter1 : IEvaluatorParameter<'TParameter1> *
parameter2 : IEvaluatorParameter<'TParameter2> *
parameter3 : IEvaluatorParameter<'TParameter3> *
parameter4 : IEvaluatorParameter<'TParameter4> -> ParameterizedEvaluator4<'TParameter1, 'TParameter2, 'TParameter3, 'TParameter4, 'TResult>
Parameters
- evaluatorToParameterize
- Type: AGI.FoundationIEvaluatorTResult
The evaluator to parameterize. - parameter1
- Type: AGI.Foundation.InfrastructureIEvaluatorParameterTParameter1
The first parameter. - parameter2
- Type: AGI.Foundation.InfrastructureIEvaluatorParameterTParameter2
The second parameter. - parameter3
- Type: AGI.Foundation.InfrastructureIEvaluatorParameterTParameter3
The third parameter. - parameter4
- Type: AGI.Foundation.InfrastructureIEvaluatorParameterTParameter4
The fourth parameter.
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.
- TResult
- The type of the result of evaluating the evaluator.
Return Value
Type:
ParameterizedEvaluator4TParameter1,
TParameter2,
TParameter3,
TParameter4,
TResultAn evaluator that can be evaluated with the given parameters.
Exceptions Exception | Condition |
---|
ArgumentNullException |
Thrown when evaluatorToParameterize, parameter1, parameter2, parameter3, or parameter4 is .
|
See Also