EvaluatorGroupParameterizeTParameter1, TParameter2, TParameter3, TParameter4, TParameter5, TParameter6, TParameter7, TResult Method (IEvaluatorTResult, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2, IEvaluatorParameterTParameter3, IEvaluatorParameterTParameter4, IEvaluatorParameterTParameter5, IEvaluatorParameterTParameter6, IEvaluatorParameterTParameter7, ParameterAction) |
Parameterizes an evaluator with seven parameters.
Namespace:
AGI.Foundation
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public ParameterizedEvaluator7<TParameter1, TParameter2, TParameter3, TParameter4, TParameter5, TParameter6, TParameter7, TResult> Parameterize<TParameter1, TParameter2, TParameter3, TParameter4, TParameter5, TParameter6, TParameter7, TResult>(
IEvaluator<TResult> evaluatorToParameterize,
IEvaluatorParameter<TParameter1> parameter1,
IEvaluatorParameter<TParameter2> parameter2,
IEvaluatorParameter<TParameter3> parameter3,
IEvaluatorParameter<TParameter4> parameter4,
IEvaluatorParameter<TParameter5> parameter5,
IEvaluatorParameter<TParameter6> parameter6,
IEvaluatorParameter<TParameter7> parameter7,
ParameterAction parameterAction
)
Public Function Parameterize(Of TParameter1, TParameter2, TParameter3, TParameter4, TParameter5, TParameter6, TParameter7, 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),
parameter5 As IEvaluatorParameter(Of TParameter5),
parameter6 As IEvaluatorParameter(Of TParameter6),
parameter7 As IEvaluatorParameter(Of TParameter7),
parameterAction As ParameterAction
) As ParameterizedEvaluator7(Of TParameter1, TParameter2, TParameter3, TParameter4, TParameter5, TParameter6, TParameter7, TResult)
public:
generic<typename TParameter1, typename TParameter2, typename TParameter3, typename TParameter4, typename TParameter5, typename TParameter6, typename TParameter7, typename TResult>
ParameterizedEvaluator7<TParameter1, TParameter2, TParameter3, TParameter4, TParameter5, TParameter6, TParameter7, TResult>^ Parameterize(
IEvaluator<TResult>^ evaluatorToParameterize,
IEvaluatorParameter<TParameter1>^ parameter1,
IEvaluatorParameter<TParameter2>^ parameter2,
IEvaluatorParameter<TParameter3>^ parameter3,
IEvaluatorParameter<TParameter4>^ parameter4,
IEvaluatorParameter<TParameter5>^ parameter5,
IEvaluatorParameter<TParameter6>^ parameter6,
IEvaluatorParameter<TParameter7>^ parameter7,
ParameterAction parameterAction
)
member Parameterize :
evaluatorToParameterize : IEvaluator<'TResult> *
parameter1 : IEvaluatorParameter<'TParameter1> *
parameter2 : IEvaluatorParameter<'TParameter2> *
parameter3 : IEvaluatorParameter<'TParameter3> *
parameter4 : IEvaluatorParameter<'TParameter4> *
parameter5 : IEvaluatorParameter<'TParameter5> *
parameter6 : IEvaluatorParameter<'TParameter6> *
parameter7 : IEvaluatorParameter<'TParameter7> *
parameterAction : ParameterAction -> ParameterizedEvaluator7<'TParameter1, 'TParameter2, 'TParameter3, 'TParameter4, 'TParameter5, 'TParameter6, 'TParameter7, 'TResult>
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. - parameter6
- Type: AGI.Foundation.InfrastructureIEvaluatorParameterTParameter6
The value of the sixth parameter. - parameter7
- Type: AGI.Foundation.InfrastructureIEvaluatorParameterTParameter7
The value of the seventh 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.
- TParameter6
- The type of the sixth parameter.
- TParameter7
- The type of the seventh parameter.
- TResult
- The type of the result of evaluating the evaluator.
Return Value
Type:
ParameterizedEvaluator7TParameter1,
TParameter2,
TParameter3,
TParameter4,
TParameter5,
TParameter6,
TParameter7,
TResultAn evaluator that can be evaluated with the given parameters.
Exceptions Exception | Condition |
---|
ArgumentNullException |
Thrown when evaluatorToParameterize, parameter1, parameter2, parameter3, parameter4, parameter5, parameter6, or parameter7 is .
|
See Also