SetVariableCallbackT Delegate |
The setter
delegate for the
DelegateBasedVariableT. You will want to
apply the
currentValue to the appropriate element in the
configurationToModify.
Namespace:
AGI.Foundation.NumericalMethods
Assembly:
AGI.Foundation.SegmentPropagation (in AGI.Foundation.SegmentPropagation.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public delegate void SetVariableCallback<T>(
double currentValue,
T configurationToModify
)
where T : ICloneWithContext
Public Delegate Sub SetVariableCallback(Of T As ICloneWithContext) (
currentValue As Double,
configurationToModify As T
)
generic<typename T>
where T : ICloneWithContext
public delegate void SetVariableCallback(
double currentValue,
T configurationToModify
)
type SetVariableCallback =
delegate of
currentValue : float *
configurationToModify : 'T -> unit
Parameters
- currentValue
- Type: SystemDouble
The value modifying the configurationToModify.
It is up to you to apply this value to whatever the initial value is in the
configurationToModify. The values in the configurationToModify
must be modified such that they reflect this update. - configurationToModify
- Type: T
The configuration of the segment getting modified.
Type Parameters
- T
- The configuration type this delegate will modify. This configuration type should be the type
that is specific to the segment being used (for example, use a
InitialStateSegmentConfiguration
if the associated segment is a NumericalPropagatorSegment.
See Also