EvaluatorGroupCallback1TEvaluator, TParameter1 Delegate |
A delegate for a method that takes one creation parameter (plus the EvaluatorGroup) and returns an evaluator.
Namespace:
AGI.Foundation
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public delegate TEvaluator Callback1<TEvaluator, TParameter1>(
EvaluatorGroup group,
TParameter1 parameter1
)
Public Delegate Function Callback1(Of TEvaluator, TParameter1) (
group As EvaluatorGroup,
parameter1 As TParameter1
) As TEvaluator
generic<typename TEvaluator, typename TParameter1>
public delegate TEvaluator Callback1(
EvaluatorGroup^ group,
TParameter1 parameter1
)
type Callback1 =
delegate of
group : EvaluatorGroup *
parameter1 : 'TParameter1 -> '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.
Type Parameters
- TEvaluator
- The type of the created evaluator.
- TParameter1
- The type of the first parameter to the evaluator creation callback.
Return Value
Type:
TEvaluatorThe evaluator.
See Also