EvaluatorGroupParameterizeTResult, TResultOverIntervals Method (IEvaluatorOverIntervalsTResult, TResultOverIntervals, ParameterAction) |
Parameterizes an evaluator with zero parameters.
Namespace:
AGI.Foundation
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public ParameterizedEvaluatorWithIntervals<TResult, TResultOverIntervals> Parameterize<TResult, TResultOverIntervals>(
IEvaluatorOverIntervals<TResult, TResultOverIntervals> evaluatorToParameterize,
ParameterAction parameterAction
)
Public Function Parameterize(Of TResult, TResultOverIntervals) (
evaluatorToParameterize As IEvaluatorOverIntervals(Of TResult, TResultOverIntervals),
parameterAction As ParameterAction
) As ParameterizedEvaluatorWithIntervals(Of TResult, TResultOverIntervals)
public:
generic<typename TResult, typename TResultOverIntervals>
ParameterizedEvaluatorWithIntervals<TResult, TResultOverIntervals>^ Parameterize(
IEvaluatorOverIntervals<TResult, TResultOverIntervals>^ evaluatorToParameterize,
ParameterAction parameterAction
)
member Parameterize :
evaluatorToParameterize : IEvaluatorOverIntervals<'TResult, 'TResultOverIntervals> *
parameterAction : ParameterAction -> ParameterizedEvaluatorWithIntervals<'TResult, 'TResultOverIntervals>
Parameters
- evaluatorToParameterize
- Type: AGI.FoundationIEvaluatorOverIntervalsTResult, TResultOverIntervals
The evaluator to parameterize. - 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
- 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:
ParameterizedEvaluatorWithIntervalsTResult,
TResultOverIntervalsAn evaluator that can be evaluated with the given parameters.
Exceptions See Also