EvaluatorGroupParameterizeTParameter1, TParameter2, TResult, TResultOverIntervals Method (IEvaluatorOverIntervalsTResult, TResultOverIntervals, IEvaluatorParameterTParameter1, IEvaluatorParameterTParameter2) |
Parameterizes an evaluator with two parameters.
Namespace:
AGI.Foundation
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public ParameterizedEvaluatorWithIntervals2<TParameter1, TParameter2, TResult, TResultOverIntervals> Parameterize<TParameter1, TParameter2, TResult, TResultOverIntervals>(
IEvaluatorOverIntervals<TResult, TResultOverIntervals> evaluatorToParameterize,
IEvaluatorParameter<TParameter1> parameter1,
IEvaluatorParameter<TParameter2> parameter2
)
Public Function Parameterize(Of TParameter1, TParameter2, TResult, TResultOverIntervals) (
evaluatorToParameterize As IEvaluatorOverIntervals(Of TResult, TResultOverIntervals),
parameter1 As IEvaluatorParameter(Of TParameter1),
parameter2 As IEvaluatorParameter(Of TParameter2)
) As ParameterizedEvaluatorWithIntervals2(Of TParameter1, TParameter2, TResult, TResultOverIntervals)
public:
generic<typename TParameter1, typename TParameter2, typename TResult, typename TResultOverIntervals>
ParameterizedEvaluatorWithIntervals2<TParameter1, TParameter2, TResult, TResultOverIntervals>^ Parameterize(
IEvaluatorOverIntervals<TResult, TResultOverIntervals>^ evaluatorToParameterize,
IEvaluatorParameter<TParameter1>^ parameter1,
IEvaluatorParameter<TParameter2>^ parameter2
)
member Parameterize :
evaluatorToParameterize : IEvaluatorOverIntervals<'TResult, 'TResultOverIntervals> *
parameter1 : IEvaluatorParameter<'TParameter1> *
parameter2 : IEvaluatorParameter<'TParameter2> -> ParameterizedEvaluatorWithIntervals2<'TParameter1, 'TParameter2, 'TResult, 'TResultOverIntervals>
Parameters
- evaluatorToParameterize
- Type: AGI.FoundationIEvaluatorOverIntervalsTResult, TResultOverIntervals
The evaluator to parameterize. - parameter1
- Type: AGI.Foundation.InfrastructureIEvaluatorParameterTParameter1
The first parameter. - parameter2
- Type: AGI.Foundation.InfrastructureIEvaluatorParameterTParameter2
The second parameter.
Type Parameters
- TParameter1
- The type of the first parameter.
- TParameter2
- The type of the second parameter.
- TResult
- The type of the result of evaluating the evaluator.
- TResultOverIntervals
- The type of the result when evaluated over an interval or collection of intervals.
Return Value
Type:
ParameterizedEvaluatorWithIntervals2TParameter1,
TParameter2,
TResult,
TResultOverIntervalsAn evaluator that can be evaluated with the given parameters.
Exceptions Exception | Condition |
---|
ArgumentNullException |
Thrown when evaluatorToParameterize, parameter1, or parameter2 is .
|
See Also