I suggest you ...

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.

9 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Adrian RussellAdrian Russell shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    1 comment

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • Erik HögstrandErik Högstrand commented  ·   ·  Flag as inappropriate

        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...

      Feedback and Knowledge Base