EvaluatorGroupParameterizeTResult Method (IEvaluatorTResult, ParameterAction) |
Parameterizes an evaluator with zero parameters.
Namespace:
AGI.Foundation
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public ParameterizedEvaluator<TResult> Parameterize<TResult>(
IEvaluator<TResult> evaluatorToParameterize,
ParameterAction parameterAction
)
Public Function Parameterize(Of TResult) (
evaluatorToParameterize As IEvaluator(Of TResult),
parameterAction As ParameterAction
) As ParameterizedEvaluator(Of TResult)
public:
generic<typename TResult>
ParameterizedEvaluator<TResult>^ Parameterize(
IEvaluator<TResult>^ evaluatorToParameterize,
ParameterAction parameterAction
)
member Parameterize :
evaluatorToParameterize : IEvaluator<'TResult> *
parameterAction : ParameterAction -> ParameterizedEvaluator<'TResult>
Parameters
- evaluatorToParameterize
- Type: AGI.FoundationIEvaluatorTResult
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.
Return Value
Type:
ParameterizedEvaluatorTResultAn evaluator that can be evaluated with the given parameters.
Exceptions See Also