ParameterizedEvaluator7TParameter1, TParameter2, TParameter3, TParameter4, TParameter5, TParameter6, TParameter7, TResultWrap Method |
Creates a parameterized evaluator that will wrap another evaluator.
All parameters will be ignored, and the wrapped evaluator result will be returned.
Namespace:
AGI.Foundation.Infrastructure
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public static ParameterizedEvaluator7<TParameter1, TParameter2, TParameter3, TParameter4, TParameter5, TParameter6, TParameter7, TResult> Wrap(
IEvaluator<TResult> evaluator
)
Public Shared Function Wrap (
evaluator As IEvaluator(Of TResult)
) As ParameterizedEvaluator7(Of TParameter1, TParameter2, TParameter3, TParameter4, TParameter5, TParameter6, TParameter7, TResult)
public:
static ParameterizedEvaluator7<TParameter1, TParameter2, TParameter3, TParameter4, TParameter5, TParameter6, TParameter7, TResult>^ Wrap(
IEvaluator<TResult>^ evaluator
)
static member Wrap :
evaluator : IEvaluator<'TResult> -> ParameterizedEvaluator7<'TParameter1, 'TParameter2, 'TParameter3, 'TParameter4, 'TParameter5, 'TParameter6, 'TParameter7, 'TResult>
Parameters
- evaluator
- Type: AGI.FoundationIEvaluatorTResult
The evaluator to wrap.
Return Value
Type:
ParameterizedEvaluator7TParameter1,
TParameter2,
TParameter3,
TParameter4,
TParameter5,
TParameter6,
TParameter7,
TResultA new parameterized evaluator that will ignore all parameters and evaluate the wrapped evaluator.
See Also