This repository was archived by the owner on Sep 2, 2021. It is now read-only.

Description
I'm new to the appccelerate state machine library and am impressed with its interface and features, especially in support of hierarchical state machines.
I have a couple of questions:
-
How do I determine the currently active state, other than through OnEntry methods or handling the TransactionCompleted event? Is there a function available to return the current state?
-
In the case of a hierarchical state machine, is there a way to get a list of the currently active states, or, alternatively, a way to determine if a specified state is active, e.g., a IsActive(state) boolean function?
In general, I'm looking for ways to programmatically determine the internal state of my state machine as I develop/test my code. This helps verify that my state machine's behavior matches its configuration.
Thanks,
Paul