StateElementAdapterHelpersAdaptState Method |
A helper method to perform the default state adaptation.
Note that initialState and finalState can be the same instance.
Namespace:
AGI.Foundation.SegmentPropagation
Assembly:
AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public static void AdaptState(
ITimeBasedState initialState,
ITimeBasedState finalState,
IList<StateElementAdapter> adapters
)
Public Shared Sub AdaptState (
initialState As ITimeBasedState,
finalState As ITimeBasedState,
adapters As IList(Of StateElementAdapter)
)
public:
static void AdaptState(
ITimeBasedState^ initialState,
ITimeBasedState^ finalState,
IList<StateElementAdapter^>^ adapters
)
static member AdaptState :
initialState : ITimeBasedState *
finalState : ITimeBasedState *
adapters : IList<StateElementAdapter> -> unit
Parameters
- initialState
- Type: AGI.Foundation.CoordinatesITimeBasedState
The old state whose adapted data will be put into finalState. - finalState
- Type: AGI.Foundation.CoordinatesITimeBasedState
The state to edit with the adapted data from initialState. - adapters
- Type: System.Collections.GenericIListStateElementAdapter
The StateElementAdapters to use to adapt the data in the states.
Exceptions See Also