| StateMachineTraceTestTransition Property |
Gets or sets a callback that can be used for tracing and analyzing the
StateMachine operation.
Namespace: StaMaAssembly: StaMa (in StaMa.dll) Version: 2.3.1.7
Syntax public StateMachineTraceTestTransitionEventHandler TraceTestTransition { get; set; }
Public Property TraceTestTransition As StateMachineTraceTestTransitionEventHandler
Get
Set
public:
property StateMachineTraceTestTransitionEventHandler^ TraceTestTransition {
StateMachineTraceTestTransitionEventHandler^ get ();
void set (StateMachineTraceTestTransitionEventHandler^ value);
}
member TraceTestTransition : StateMachineTraceTestTransitionEventHandler with get, set
Property Value
Type:
StateMachineTraceTestTransitionEventHandlerRemarks
The delegate will be called when the event queue dispatches an event to the state machine for every
Transition that is regarded as active.
The StateMachine passes the following parameters to the callback:
-
The StateMachine instance that investigates the event.
-
The Transition instance that investigates the event.
-
The Object that represents the trigger event that was sent to the state machine.
-
The EventArgs instance that carries additional parameters accompanying the trigger event.
The intended purpose of this callback is purely for tracing or analysis purposes.
The callback is expected to not interfere with the state machine excution.
Actions within a state machine shall solely be executed through the EntryAction,
ExitAction and TransitionAction.
See Also