Hi Bob
Unfortunately, it is currently not possible to pass the argument you
specify in stateMachine.Fire(someEvent, someArgument) into the entry
or exit action.
The parameter you see in the overload of ExecuteOnEntry can be used in
the definition. For example:
stateMachine.In(State.A)
.ExecuteOnEntry(ToggleButton, true)
.ExecuteOnExit(ToggleButton, false)
This would for example enable or disable a button depending on the
parameter.
At the moment, you have to replace your entry action with transition
actions and add the action you would execute on entry to every
transition that ends in this state.
We're currently working on a new version of the state machine and will
try to incorporate your input. The project will also be renamed to
Appccelerate (
http://github.com/appccelerate/appccelerate).
Cheers
Urs