EvaluatorGroupParameterizeTParameter1, TResult, TResultOverIntervals Method (IEvaluatorOverIntervalsTResult, TResultOverIntervals, IEvaluatorParameterTParameter1, ParameterAction) |
Parameterizes an evaluator with one parameter.
Namespace:
AGI.Foundation
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public ParameterizedEvaluatorWithIntervals1<TParameter1, TResult, TResultOverIntervals> Parameterize<TParameter1, TResult, TResultOverIntervals>(
IEvaluatorOverIntervals<TResult, TResultOverIntervals> evaluatorToParameterize,
IEvaluatorParameter<TParameter1> parameter1,
ParameterAction parameterAction
)
Public Function Parameterize(Of TParameter1, TResult, TResultOverIntervals) (
evaluatorToParameterize As IEvaluatorOverIntervals(Of TResult, TResultOverIntervals),
parameter1 As IEvaluatorParameter(Of TParameter1),
parameterAction As ParameterAction
) As ParameterizedEvaluatorWithIntervals1(Of TParameter1, TResult, TResultOverIntervals)
public:
generic<typename TParameter1, typename TResult, typename TResultOverIntervals>
ParameterizedEvaluatorWithIntervals1<TParameter1, TResult, TResultOverIntervals>^ Parameterize(
IEvaluatorOverIntervals<TResult, TResultOverIntervals>^ evaluatorToParameterize,
IEvaluatorParameter<TParameter1>^ parameter1,
ParameterAction parameterAction
)
member Parameterize :
evaluatorToParameterize : IEvaluatorOverIntervals<'TResult, 'TResultOverIntervals> *
parameter1 : IEvaluatorParameter<'TParameter1> *
parameterAction : ParameterAction -> ParameterizedEvaluatorWithIntervals1<'TParameter1, 'TResult, 'TResultOverIntervals>
Parameters
- evaluatorToParameterize
- Type: AGI.FoundationIEvaluatorOverIntervalsTResult, TResultOverIntervals
The evaluator to parameterize. - parameter1
- Type: AGI.Foundation.InfrastructureIEvaluatorParameterTParameter1
The value of the first 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.
- 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:
ParameterizedEvaluatorWithIntervals1TParameter1,
TResult,
TResultOverIntervalsAn evaluator that can be evaluated with the given parameters.
Exceptions See Also