Provide hooks to allow processing at start and finish of entry/exit blocks.
I have a need to log the entry/exit of the OnEntry and OnExit methods. It would be usefull if the framework provided a mechanism for adding these kind of aspects.
6
votes
1 comment
-
Erik Högstrand
commented
An event on StateMachine called StateChanged with an StateMachine.Transition as event argument would be really nice.
Until this is implemented one can construct a state machine with external state storage, and fix the event from the outside. Though the trigger can't be tracked...