EvaluatorGroupCallback2TEvaluator, TParameter1, TParameter2 Delegate |
A delegate for a method that takes two creation parameters (plus the EvaluatorGroup) and returns an evaluator.
Namespace:
AGI.Foundation
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public delegate TEvaluator Callback2<TEvaluator, TParameter1, TParameter2>(
EvaluatorGroup group,
TParameter1 parameter1,
TParameter2 parameter2
)
Public Delegate Function Callback2(Of TEvaluator, TParameter1, TParameter2) (
group As EvaluatorGroup,
parameter1 As TParameter1,
parameter2 As TParameter2
) As TEvaluator
generic<typename TEvaluator, typename TParameter1, typename TParameter2>
public delegate TEvaluator Callback2(
EvaluatorGroup^ group,
TParameter1 parameter1,
TParameter2 parameter2
)
type Callback2 =
delegate of
group : EvaluatorGroup *
parameter1 : 'TParameter1 *
parameter2 : 'TParameter2 -> 'TEvaluator
Parameters
- group
- Type: AGI.FoundationEvaluatorGroup
The group with which to associate the new evaluator. By grouping evaluators
that are often evaluated at the same Julian dates, common computations can be performed only once
for the entire group instead of multiple times for each evaluator.
- parameter1
- Type: TParameter1
The first parameter to the creation callback. - parameter2
- Type: TParameter2
The second parameter to the creation callback.
Type Parameters
- TEvaluator
- The type of the created evaluator.
- TParameter1
- The type of the first parameter to the evaluator creation callback.
- TParameter2
- The type of the second parameter to the evaluator creation callback.
Return Value
Type:
TEvaluatorThe evaluator.
See Also