Stateless
Models behaviour as transitions between a finite set of states.
The type used to represent the states.
The type used to represent the triggers that cause state transitions.
Constructor that takes in a guard with no argument.
This is needed because we wrap the no-arg guard with a lamba and therefore method description won't match what was origianlly passed in.
We need to preserve the method description before wrapping so Reflection methods will work.
No Argument Guard Condition
The configuration for a single state value.
Add an internal transition to the state machine. An internal action does not cause the Exit and Entry actions to be triggered, and does not change the state of the state machine
Function that must return true in order for the trigger to be accepted.
Add an internal transition to the state machine. An internal action does not cause the Exit and Entry actions to be triggered, and does not change the state of the state machine
The accepted trigger
Function that must return true in order for the\r\n /// trigger to be accepted.
The asynchronous action performed by the internal transition
Add an internal transition to the state machine. An internal action does not cause the Exit and Entry actions to be triggered, and does not change the state of the state machine
The accepted trigger
Function that must return true in order for the trigger to be accepted.
The asynchronous action performed by the internal transition
Add an internal transition to the state machine. An internal action does not cause the Exit and Entry actions to be triggered, and does not change the state of the state machine
The accepted trigger
Function that must return true in order for the trigger to be accepted.
The asynchronous action performed by the internal transition
Add an internal transition to the state machine. An internal action does not cause the Exit and Entry actions to be triggered, and does not change the state of the state machine
The accepted trigger
Function that must return true in order for the trigger to be accepted.
The asynchronous action performed by the internal transition
Add an internal transition to the state machine. An internal action does not cause the Exit and Entry actions to be triggered, and does not change the state of the state machine
The accepted trigger
Function that must return true in order for the trigger to be accepted.
The asynchronous action performed by the internal transition
Add an internal transition to the state machine. An internal action does not cause the Exit and Entry actions to be triggered, and does not change the state of the state machine
Add an internal transition to the state machine. An internal action does not cause the Exit and Entry actions to be triggered, and does not change the state of the state machine
The accepted trigger
The asynchronous action performed by the internal transition
Add an internal transition to the state machine. An internal action does not cause the Exit and Entry actions to be triggered, and does not change the state of the state machine
The accepted trigger
The asynchronous action performed by the internal transition
Add an internal transition to the state machine. An internal action does not cause the Exit and Entry actions to be triggered, and does not change the state of the state machine
The accepted trigger
The asynchronous action performed by the internal transition
Add an internal transition to the state machine. An internal action does not cause the Exit and Entry actions to be triggered, and does not change the state of the state machine
The accepted trigger
The asynchronous action performed by the internal transition
Add an internal transition to the state machine. An internal action does not cause the Exit and Entry actions to be triggered, and does not change the state of the state machine
The accepted trigger
The asynchronous action performed by the internal transition
Specify an asynchronous action that will execute when activating
the configured state.
Action to execute.
Action description.
The receiver.
Specify an asynchronous action that will execute when deactivating
the configured state.
Action to execute.
Action description.
The receiver.
Specify an asynchronous action that will execute when transitioning into
the configured state.
Action to execute.
Action description.
The receiver.
Specify an asynchronous action that will execute when transitioning into
the configured state.
Action to execute, providing details of the transition.
Action description.
The receiver.
Specify an asynchronous action that will execute when transitioning into
the configured state.
Action to execute.
The trigger by which the state must be entered in order for the action to execute.
Action description.
The receiver.
Specify an asynchronous action that will execute when transitioning into
the configured state.
Action to execute, providing details of the transition.
The trigger by which the state must be entered in order for the action to execute.
Action description.
The receiver.
Specify an asynchronous action that will execute when transitioning into
the configured state.
Type of the first trigger argument.
Action to execute, providing details of the transition.
The trigger by which the state must be entered in order for the action to execute.
Action description.
The receiver.
Specify an asynchronous action that will execute when transitioning into
the configured state.
Type of the first trigger argument.
Action to execute, providing details of the transition.
The trigger by which the state must be entered in order for the action to execute.
Action description.
The receiver.
Specify an asynchronous action that will execute when transitioning into
the configured state.
Type of the first trigger argument.
Type of the second trigger argument.
Action to execute, providing details of the transition.
The trigger by which the state must be entered in order for the action to execute.
Action description.
The receiver.
Specify an asynchronous action that will execute when transitioning into
the configured state.
Type of the first trigger argument.
Type of the second trigger argument.
Action to execute, providing details of the transition.
The trigger by which the state must be entered in order for the action to execute.
Action description.
The receiver.
Specify an asynchronous action that will execute when transitioning into
the configured state.
Type of the first trigger argument.
Type of the second trigger argument.
Type of the third trigger argument.
Action to execute, providing details of the transition.
The trigger by which the state must be entered in order for the action to execute.
Action description.
The receiver.
Specify an asynchronous action that will execute when transitioning into
the configured state.
Type of the first trigger argument.
Type of the second trigger argument.
Type of the third trigger argument.
Action to execute, providing details of the transition.
The trigger by which the state must be entered in order for the action to execute.
Action description.
The receiver.
Specify an asynchronous action that will execute when transitioning from
the configured state.
Action to execute.
Action description.
The receiver.
Specify an asynchronous action that will execute when transitioning from
the configured state.
Action to execute, providing details of the transition.
Action description.
The receiver.
The state that is configured with this configuration.
The machine that is configured with this configuration.
Accept the specified trigger and transition to the destination state.
The accepted trigger.
The state that the trigger will cause a
transition to.
The reciever.
Add an internal transition to the state machine. An internal action does not cause the Exit and Entry actions to be triggered, and does not change the state of the state machine
Add an internal transition to the state machine. An internal action does not cause the Exit and Entry actions to be triggered, and does not change the state of the state machine
Function that must return true in order for the trigger to be accepted.
A description of the guard condition
Add an internal transition to the state machine. An internal action does not cause the Exit and Entry actions to be triggered, and does not change the state of the state machine
The accepted trigger
The action performed by the internal transition
Add an internal transition to the state machine. An internal action does not cause the Exit and Entry actions to be triggered, and does not change the state of the state machine
The accepted trigger
Function that must return true in order for the trigger to be accepted.
The action performed by the internal transition
A description of the guard condition
Add an internal transition to the state machine. An internal action does not cause the Exit and Entry actions to be triggered, and does not change the state of the state machine
The accepted trigger
Function that must return true in order for the trigger to be accepted.
The action performed by the internal transition
A description of the guard condition
Add an internal transition to the state machine. An internal action does not cause the Exit and Entry actions to be triggered, and does not change the state of the state machine
The accepted trigger
The action performed by the internal transition
Add an internal transition to the state machine. An internal action does not cause the Exit and Entry actions to be triggered, and does not change the state of the state machine
The accepted trigger
The action performed by the internal transition
Add an internal transition to the state machine. An internal action does not cause the Exit and Entry actions to be triggered, and does not change the state of the state machine
The accepted trigger
Function that must return true in order for the trigger to be accepted.
The action performed by the internal transition
A description of the guard condition
Add an internal transition to the state machine. An internal action does not cause the Exit and Entry actions to be triggered, and does not change the state of the state machine
The accepted trigger
The action performed by the internal transition
Add an internal transition to the state machine. An internal action does not cause the Exit and Entry actions to be triggered, and does not change the state of the state machine
The accepted trigger
Function that must return true in order for the trigger to be accepted.
The action performed by the internal transition
A description of the guard condition
Add an internal transition to the state machine. An internal action does not cause the Exit and Entry actions to be triggered, and does not change the state of the state machine
The accepted trigger
Function that must return true in order for the trigger to be accepted.
The action performed by the internal transition
A description of the guard condition
Add an internal transition to the state machine. An internal action does not cause the Exit and Entry actions to be triggered, and does not change the state of the state machine
The accepted trigger
Function that must return true in order for the trigger to be accepted.
The action performed by the internal transition
A description of the guard condition
Add an internal transition to the state machine. An internal action does not cause the Exit and Entry actions to be triggered, and does not change the state of the state machine
The accepted trigger
Function that must return true in order for the trigger to be accepted.
The action performed by the internal transition
A description of the guard condition
Add an internal transition to the state machine. An internal action does not cause the Exit and Entry actions to be triggered, and does not change the state of the state machine
The accepted trigger
The action performed by the internal transition
Accept the specified trigger and transition to the destination state.
The accepted trigger.
The state that the trigger will cause a
transition to.
Function that must return true in order for the
trigger to be accepted.
Guard description
The reciever.
Accept the specified trigger and transition to the destination state.
The accepted trigger.
Functions and their descriptions that must return true in order for the
trigger to be accepted.
State of the destination.
The receiver.
Accept the specified trigger, transition to the destination state, and guard condition.
The accepted trigger.
The state that the trigger will cause a
transition to.
Function that must return true in order for the
trigger to be accepted. Takes a single argument of type TArg0
Guard description
The reciever.
Accept the specified trigger, transition to the destination state, and guard conditions.
The accepted trigger.
Functions and their descriptions that must return true in order for the
trigger to be accepted. Functions take a single argument of type TArg0.
State of the destination.
The receiver.
Accept the specified trigger, transition to the destination state, and guard condition.
The accepted trigger.
The state that the trigger will cause a
transition to.
Function that must return true in order for the
trigger to be accepted. Takes a single argument of type TArg0
Guard description
The reciever.
Accept the specified trigger, transition to the destination state, and guard condition.
The accepted trigger.
Functions and their descriptions that must return true in order for the
trigger to be accepted. Functions take a single argument of type TArg0.
State of the destination.
The receiver.
The reciever.
Accept the specified trigger, transition to the destination state, and guard condition.
The accepted trigger.
The state that the trigger will cause a
transition to.
Function that must return true in order for the
trigger to be accepted. Takes a single argument of type TArg0
Guard description
The reciever.
Accept the specified trigger, transition to the destination state, and guard condition.
The accepted trigger.
Functions and their descriptions that must return true in order for the
trigger to be accepted. Functions take a single argument of type TArg0.
State of the destination.
The receiver.
The reciever.
Accept the specified trigger, execute exit actions and re-execute entry actions.
Reentry behaves as though the configured state transitions to an identical sibling state.
The accepted trigger.
The reciever.
Applies to the current state only. Will not re-execute superstate actions, or
cause actions to execute transitioning between super- and sub-states.
Accept the specified trigger, execute exit actions and re-execute entry actions.
Reentry behaves as though the configured state transitions to an identical sibling state.
The accepted trigger.
Function that must return true in order for the
trigger to be accepted.
Guard description
The reciever.
Applies to the current state only. Will not re-execute superstate actions, or
cause actions to execute transitioning between super- and sub-states.
Accept the specified trigger, execute exit actions and re-execute entry actions.
Reentry behaves as though the configured state transitions to an identical sibling state.
The accepted trigger.
Functions and their descriptions that must return true in order for the
trigger to be accepted.
The reciever.
Applies to the current state only. Will not re-execute superstate actions, or
cause actions to execute transitioning between super- and sub-states.
Accept the specified trigger, transition to the destination state, and guard condition.
The accepted trigger.
Function that must return true in order for the
trigger to be accepted. Takes a single argument of type TArg0
Guard description
The reciever.
Accept the specified trigger, transition to the destination state, and guard conditions.
The accepted trigger.
Functions and their descriptions that must return true in order for the
trigger to be accepted. Functions take a single argument of type TArg0.
The receiver.
Accept the specified trigger, transition to the destination state, and guard condition.
The accepted trigger.
Function that must return true in order for the
trigger to be accepted. Takes a single argument of type TArg0
Guard description
The reciever.
Accept the specified trigger, transition to the destination state, and guard condition.
The accepted trigger.
Functions and their descriptions that must return true in order for the
trigger to be accepted. Functions take a single argument of type TArg0.
The receiver.
The reciever.
Accept the specified trigger, transition to the destination state, and guard condition.
The accepted trigger.
Function that must return true in order for the
trigger to be accepted. Takes a single argument of type TArg0
Guard description
The reciever.
Accept the specified trigger, transition to the destination state, and guard condition.
The accepted trigger.
Functions and their descriptions that must return true in order for the
trigger to be accepted. Functions take a single argument of type TArg0.
The receiver.
The reciever.
Ignore the specified trigger when in the configured state.
The trigger to ignore.
The receiver.
Ignore the specified trigger when in the configured state, if the guard
returns true..
The trigger to ignore.
Guard description
Function that must return true in order for the
trigger to be ignored.
The receiver.
Ignore the specified trigger when in the configured state, if the guard
returns true..
The trigger to ignore.
Functions and their descriptions that must return true in order for the
trigger to be ignored.
The receiver.
Ignore the specified trigger when in the configured state, if the guard
returns true..
The trigger to ignore.
Guard description
Function that must return true in order for the
trigger to be ignored.
The receiver.
Ignore the specified trigger when in the configured state, if the guard
returns true..
The trigger to ignore.
Functions and their descriptions that must return true in order for the
trigger to be ignored.
The receiver.
Ignore the specified trigger when in the configured state, if the guard
returns true..
The trigger to ignore.
Guard description
Function that must return true in order for the
trigger to be ignored.
The receiver.
Ignore the specified trigger when in the configured state, if the guard
returns true..
The trigger to ignore.
Functions and their descriptions that must return true in order for the
trigger to be ignored.
The receiver.
Ignore the specified trigger when in the configured state, if the guard
returns true..
The trigger to ignore.
Guard description
Function that must return true in order for the
trigger to be ignored.
The receiver.
Ignore the specified trigger when in the configured state, if the guard
returns true..
The trigger to ignore.
Functions and their descriptions that must return true in order for the
trigger to be ignored.
The receiver.
Specify an action that will execute when activating
the configured state.
Action to execute.
Action description.
The receiver.
Specify an action that will execute when deactivating
the configured state.
Action to execute.
Action description.
The receiver.
Specify an action that will execute when transitioning into
the configured state.
Action to execute.
Action description.
The receiver.
Specify an action that will execute when transitioning into
the configured state.
Action to execute, providing details of the transition.
Action description.
The receiver.
Specify an action that will execute when transitioning into
the configured state.
Action to execute.
The trigger by which the state must be entered in order for the action to execute.
Action description.
The receiver.
Specify an action that will execute when transitioning into
the configured state.
Action to execute, providing details of the transition.
The trigger by which the state must be entered in order for the action to execute.
Action description.
The receiver.
Specify an action that will execute when transitioning into
the configured state.
Type of the first trigger argument.
Action to execute, providing details of the transition.
The trigger by which the state must be entered in order for the action to execute.
Action description.
The receiver.
Specify an action that will execute when transitioning into
the configured state.
Type of the first trigger argument.
Action to execute, providing details of the transition.
The trigger by which the state must be entered in order for the action to execute.
Action description.
The receiver.
Specify an action that will execute when transitioning into
the configured state.
Type of the first trigger argument.
Type of the second trigger argument.
Action to execute, providing details of the transition.
The trigger by which the state must be entered in order for the action to execute.
Action description.
The receiver.
Specify an action that will execute when transitioning into
the configured state.
Type of the first trigger argument.
Type of the second trigger argument.
Action to execute, providing details of the transition.
The trigger by which the state must be entered in order for the action to execute.
Action description.
The receiver.
Specify an action that will execute when transitioning into
the configured state.
Type of the first trigger argument.
Type of the second trigger argument.
Type of the third trigger argument.
Action to execute, providing details of the transition.
The trigger by which the state must be entered in order for the action to execute.
Action description.
The receiver.
Specify an action that will execute when transitioning into
the configured state.
Type of the first trigger argument.
Type of the second trigger argument.
Type of the third trigger argument.
Action to execute, providing details of the transition.
The trigger by which the state must be entered in order for the action to execute.
Action description.
The receiver.
Specify an action that will execute when transitioning from
the configured state.
Action to execute.
Action description.
The receiver.
Specify an action that will execute when transitioning from
the configured state.
Action to execute, providing details of the transition.
Action description.
The receiver.
Sets the superstate that the configured state is a substate of.
Substates inherit the allowed transitions of their superstate.
When entering directly into a substate from outside of the superstate,
entry actions for the superstate are executed.
Likewise when leaving from the substate to outside the supserstate,
exit actions for the superstate will execute.
The superstate.
The receiver.
Accept the specified trigger and transition to the destination state, calculated
dynamically by the supplied function.
The accepted trigger.
Function to calculate the state
that the trigger will cause a transition to.
Optional description for the function to calculate the state
Optional array of possible destination states (used by output formatters)
The reciever.
Accept the specified trigger and transition to the destination state, calculated
dynamically by the supplied function.
The accepted trigger.
Function to calculate the state
that the trigger will cause a transition to.
Optional description of the function to calculate the state
The reciever.
Type of the first trigger argument.
Accept the specified trigger and transition to the destination state, calculated
dynamically by the supplied function.
The accepted trigger.
Function to calculate the state
that the trigger will cause a transition to.
Optional description of the function to calculate the state
The reciever.
Type of the first trigger argument.
Type of the second trigger argument.
Accept the specified trigger and transition to the destination state, calculated
dynamically by the supplied function.
The accepted trigger.
Function to calculate the state
that the trigger will cause a transition to.
Optional description of the function to calculate the state
The reciever.
Type of the first trigger argument.
Type of the second trigger argument.
Type of the third trigger argument.
Accept the specified trigger and transition to the destination state, calculated
dynamically by the supplied function.
The accepted trigger.
Function to calculate the state
that the trigger will cause a transition to.
Function that must return true in order for the
trigger to be accepted.
Guard description
The reciever.
Accept the specified trigger and transition to the destination state, calculated
dynamically by the supplied function.
The accepted trigger.
Function to calculate the state
that the trigger will cause a transition to.
Description of the function to calculate the state
Function that must return true in order for the
trigger to be accepted.
Guard description
The reciever.
Accept the specified trigger and transition to the destination state, calculated
dynamically by the supplied function.
The accepted trigger.
Function to calculate the state
that the trigger will cause a transition to.
Functions and their descriptions that must return true in order for the
trigger to be accepted.
The reciever.
Accept the specified trigger and transition to the destination state, calculated
dynamically by the supplied function.
The accepted trigger.
Function to calculate the state
that the trigger will cause a transition to.
Description of the function to calculate the state
Functions and their descriptions that must return true in order for the
trigger to be accepted.
The reciever.
Accept the specified trigger and transition to the destination state, calculated
dynamically by the supplied function.
The accepted trigger.
Function to calculate the state
that the trigger will cause a transition to.
Function that must return true in order for the
trigger to be accepted.
Guard description
The reciever.
Type of the first trigger argument.
Accept the specified trigger and transition to the destination state, calculated
dynamically by the supplied function.
The accepted trigger.
Function to calculate the state
that the trigger will cause a transition to.
Functions and their descriptions that must return true in order for the
trigger to be accepted.
The reciever.
Type of the first trigger argument.
Accept the specified trigger and transition to the destination state, calculated
dynamically by the supplied function.
The accepted trigger.
Function to calculate the state
that the trigger will cause a transition to.
Function that must return true in order for the
trigger to be accepted.
Guard description
The reciever.
Type of the first trigger argument.
Type of the second trigger argument.
Accept the specified trigger and transition to the destination state, calculated
dynamically by the supplied function.
The accepted trigger.
Function to calculate the state
that the trigger will cause a transition to.
Functions and their descriptions that must return true in order for the
trigger to be accepted.
The reciever.
Type of the first trigger argument.
Type of the second trigger argument.
Accept the specified trigger and transition to the destination state, calculated
dynamically by the supplied function.
The accepted trigger.
Function to calculate the state
that the trigger will cause a transition to.
The reciever.
Function that must return true in order for the
trigger to be accepted.
Guard description
Type of the first trigger argument.
Type of the second trigger argument.
Type of the third trigger argument.
Accept the specified trigger and transition to the destination state, calculated
dynamically by the supplied function.
The accepted trigger.
Function to calculate the state
that the trigger will cause a transition to.
The reciever.
Functions ant their descriptions that must return true in order for the
trigger to be accepted.
Type of the first trigger argument.
Type of the second trigger argument.
Type of the third trigger argument.
Accept the specified trigger and transition to the destination state, calculated
dynamically by the supplied function.
The accepted trigger.
Function to calculate the state
that the trigger will cause a transition to.
Parameterized Function that must return true in order for the
trigger to be accepted.
Guard description
The reciever.
Type of the first trigger argument.
Accept the specified trigger and transition to the destination state, calculated
dynamically by the supplied function.
The accepted trigger.
Function to calculate the state
that the trigger will cause a transition to.
Functions and their descriptions that must return true in order for the
trigger to be accepted.
The reciever.
Type of the first trigger argument.
Accept the specified trigger and transition to the destination state, calculated
dynamically by the supplied function.
The accepted trigger.
Function to calculate the state
that the trigger will cause a transition to.
Function that must return true in order for the
trigger to be accepted.
Guard description
The reciever.
Type of the first trigger argument.
Type of the second trigger argument.
Accept the specified trigger and transition to the destination state, calculated
dynamically by the supplied function.
The accepted trigger.
Function to calculate the state
that the trigger will cause a transition to.
Functions that must return true in order for the
trigger to be accepted.
The reciever.
Type of the first trigger argument.
Type of the second trigger argument.
Accept the specified trigger and transition to the destination state, calculated
dynamically by the supplied function.
The accepted trigger.
Function to calculate the state
that the trigger will cause a transition to.
Function that must return true in order for the
trigger to be accepted.
Guard description
The reciever.
Type of the first trigger argument.
Type of the second trigger argument.
Accept the specified trigger and transition to the destination state, calculated
dynamically by the supplied function.
The accepted trigger.
Function to calculate the state
that the trigger will cause a transition to.
Functions that must return true in order for the
trigger to be accepted.
The reciever.
Type of the first trigger argument.
Type of the second trigger argument.
Adds internal transition to this state. When entering the current state the state machine will look for an initial transition, and enter the target state.
The target initial state
A stateConfiguration object
Activates current state in asynchronous fashion. Actions associated with activating the currrent state
will be invoked. The activation is idempotent and subsequent activation of the same current state
will not lead to re-execution of activation callbacks.
Deactivates current state in asynchronous fashion. Actions associated with deactivating the currrent state
will be invoked. The deactivation is idempotent and subsequent deactivation of the same current state
will not lead to re-execution of deactivation callbacks.
Transition from the current state via the specified trigger in async fashion.
The target state is determined by the configuration of the current state.
Actions associated with leaving the current state and entering the new one
will be invoked.
The trigger to fire.
The current state does
not allow the trigger to be fired.
Transition from the current state via the specified trigger in async fashion.
The target state is determined by the configuration of the current state.
Actions associated with leaving the current state and entering the new one
will be invoked.
Type of the first trigger argument.
The trigger to fire.
The first argument.
The current state does
not allow the trigger to be fired.
Transition from the current state via the specified trigger in async fashion.
The target state is determined by the configuration of the current state.
Actions associated with leaving the current state and entering the new one
will be invoked.
Type of the first trigger argument.
Type of the second trigger argument.
The first argument.
The second argument.
The trigger to fire.
The current state does
not allow the trigger to be fired.
Transition from the current state via the specified trigger in async fashion.
The target state is determined by the configuration of the current state.
Actions associated with leaving the current state and entering the new one
will be invoked.
Type of the first trigger argument.
Type of the second trigger argument.
Type of the third trigger argument.
The first argument.
The second argument.
The third argument.
The trigger to fire.
The current state does
not allow the trigger to be fired.
Determine how to Fire the trigger
The trigger.
A variable-length parameters list containing arguments.
Queue events and then fire in order.
If only one event is queued, this behaves identically to the non-queued version.
The trigger.
A variable-length parameters list containing arguments.
Override the default behaviour of throwing an exception when an unhandled trigger
is fired.
Override the default behaviour of throwing an exception when an unhandled trigger
is fired.
An asynchronous action to call when an unhandled trigger is fired.
Registers an asynchronous callback that will be invoked every time the statemachine
transitions from one state into another.
The asynchronous action to execute, accepting the details
of the transition.
Construct a state machine with external state storage.
A function that will be called to read the current state value.
An action that will be called to write new state values.
Construct a state machine.
The initial state.
Construct a state machine with external state storage.
A function that will be called to read the current state value.
An action that will be called to write new state values.
Optional specification of fireing mode.
Construct a state machine.
The initial state.
Optional specification of fireing mode.
Default constuctor
The current state.
The currently-permissible trigger values.
The currently-permissible trigger values.
Provides an info object which exposes the states, transitions, and actions of this machine.
Begin configuration of the entry/exit actions and allowed transitions
when the state machine is in a particular state.
The state to configure.
A configuration object through which the state can be configured.
Transition from the current state via the specified trigger.
The target state is determined by the configuration of the current state.
Actions associated with leaving the current state and entering the new one
will be invoked.
The trigger to fire.
The current state does
not allow the trigger to be fired.
Transition from the current state via the specified trigger.
The target state is determined by the configuration of the current state.
Actions associated with leaving the current state and entering the new one
will be invoked.
Type of the first trigger argument.
The trigger to fire.
The first argument.
The current state does
not allow the trigger to be fired.
Transition from the current state via the specified trigger.
The target state is determined by the configuration of the current state.
Actions associated with leaving the current state and entering the new one
will be invoked.
Type of the first trigger argument.
Type of the second trigger argument.
The first argument.
The second argument.
The trigger to fire.
The current state does
not allow the trigger to be fired.
Transition from the current state via the specified trigger.
The target state is determined by the configuration of the current state.
Actions associated with leaving the current state and entering the new one
will be invoked.
Type of the first trigger argument.
Type of the second trigger argument.
Type of the third trigger argument.
The first argument.
The second argument.
The third argument.
The trigger to fire.
The current state does
not allow the trigger to be fired.
Activates current state. Actions associated with activating the currrent state
will be invoked. The activation is idempotent and subsequent activation of the same current state
will not lead to re-execution of activation callbacks.
Deactivates current state. Actions associated with deactivating the currrent state
will be invoked. The deactivation is idempotent and subsequent deactivation of the same current state
will not lead to re-execution of deactivation callbacks.
Determine how to Fire the trigger
The trigger.
A variable-length parameters list containing arguments.
Queue events and then fire in order.
If only one event is queued, this behaves identically to the non-queued version.
The trigger.
A variable-length parameters list containing arguments.
This method handles the execution of a trigger handler. It finds a
handle, then updates the current state information.
Override the default behaviour of throwing an exception when an unhandled trigger
is fired.
An action to call when an unhandled trigger is fired.
Override the default behaviour of throwing an exception when an unhandled trigger
is fired.
An action to call when an unhandled trigger is fired.
Determine if the state machine is in the supplied state.
The state to test for.
True if the current state is equal to, or a substate of,
the supplied state.
Returns true if can be fired
in the current state.
Trigger to test.
True if the trigger can be fired, false otherwise.
A human-readable representation of the state machine.
A description of the current state and permitted triggers.
Specify the arguments that must be supplied when a specific trigger is fired.
Type of the first trigger argument.
The underlying trigger value.
An object that can be passed to the Fire() method in order to
fire the parameterised trigger.
Specify the arguments that must be supplied when a specific trigger is fired.
Type of the first trigger argument.
Type of the second trigger argument.
The underlying trigger value.
An object that can be passed to the Fire() method in order to
fire the parameterised trigger.
Specify the arguments that must be supplied when a specific trigger is fired.
Type of the first trigger argument.
Type of the second trigger argument.
Type of the third trigger argument.
The underlying trigger value.
An object that can be passed to the Fire() method in order to
fire the parameterised trigger.
Registers a callback that will be invoked every time the statemachine
transitions from one state into another.
The action to execute, accepting the details
of the transition.
Describes a state transition.
Construct a transition.
The state transitioned from.
The state transitioned to.
The trigger that caused the transition.
The state transitioned from.
The state transitioned to.
The trigger that caused the transition.
True if the transition is a re-entry, i.e. the identity transition.
Guards is the list of the guard functions for all guard conditions for this transition
GuardConditionsMet is true if all of the guard functions return true
or if there are no guard functions
UnmetGuardConditions is a list of the descriptions of all guard conditions
whose guard function returns false
If there is no guard function, _guard is set to TransitionGuard.Empty
TriggerBehaviour constructor
TransitionGuard (null if no guard function)
Guard is the transition guard for this trigger. Equal to
TransitionGuard.Empty if there is no transition guard
Guards is the list of guard functions for the transition guard for this trigger
GuardConditionsMet is true if all of the guard functions return true
or if there are no guard functions
UnmetGuardConditions is a list of the descriptions of all guard conditions
whose guard function returns false
Associates configured parameters with an underlying trigger value.
Create a configured trigger.
Trigger represented by this trigger configuration.
The argument types expected by the trigger.
Gets the underlying trigger value that has been configured.
Ensure that the supplied arguments are compatible with those configured for this
trigger.
A configured trigger with one required argument.
The type of the first argument.
Create a configured trigger.
Trigger represented by this trigger configuration.
A configured trigger with two required arguments.
The type of the first argument.
The type of the second argument.
Create a configured trigger.
Trigger represented by this trigger configuration.
A configured trigger with three required arguments.
The type of the first argument.
The type of the second argument.
The type of the third argument.
Create a configured trigger.
Trigger represented by this trigger configuration.
Used to keep track of the decision point of a dynamic transition
Style definition for StateGraph.
Provides formatting of individual items in a state graph.
Get the text that must be present at the top of a state graph file.
For example, for DOT files the prefix text would be
digraph {
Prefix text
Returns the formatted text for a single state.
For example, for DOT files this would be the description of a single node:
nodename [label="statename"];
Usually the information on exit and entry actions would also be included here.
The state to generate text for
Description of the state in the desired format
Returns the formatted text for a single superstate and its substates.
For example, for DOT files this would be a subgraph containing nodes for all the substates.
The superstate to generate text for
Description of the superstate, and all its substates, in the desired format
Returns the formatted text for a single decision node.
A decision node is created each time there is a PermitDynamic() transition. There will be a transition
from the state that has the dynamic transition to the decision node, and transitions from the decision
node to each of the destination nodes. If the caller did not specify the possible destination states,
there will be no transitions leaving the decision node.
Name of the node
Label for the node
Returns the formatted text for all the transitions found in the state graph.
This form, which can be overridden, determines the type of each transition and passes the appropriate
parameters to the virtual FormatOneTransition() function.
List of all transitions in the state graph
Description of all transitions, in the desired format
Returns the formatted text for a single transition. Only required if the default version of
FormatAllTransitions() is used.
Node name of the source state node
Name of the trigger
List of entry and exit actions (if any)
List of guards (if any)
Used to keep track of a state that has substates
The superstate of this state (null if none)
List of all transitions that leave this state (never null)
List of all transitions that enter this state (never null)
Unique name of this object
Name of the state represented by this object
Actions that are executed when you enter this state from any trigger
Actions that are executed when you exit this state
This class is used to generate a symbolic representation of the
graph structure, in preparation for feeding it to a diagram
generator
List of all states in the graph, indexed by the string representation of the underlying State object.
List of all transitions in the graph
List of all decision nodes in the graph. A decision node is generated each time there
is a PermitDynamic() transition.
Convert the graph into a string representation, using the specified style.
Process all entry actions that have a "FromTrigger" (meaning they are
only executed when the state is entered because the specified trigger
was fired).
Add all transitions to the graph
Add states to the graph that are neither superstates, nor substates of a superstate.
Add superstates to the graph (states that have substates)
Used to keep track of a state that has substates
List of states that are a substate of this state
Used to keep track of transitions between states
The trigger that causes this transition
List of actions to be performed by the destination state (the one being entered)
Should the entry and exit actions be executed when this transition takes place
The state where this transition starts
Base class of transitions
The state where this transition finishes
Guard functions for this transition (null if none)
The state where this transition finishes
When is this transition followed
Class to generate a DOT grah in UML format
Generate a UML DOT graph from the state machine info
Generate DOT graphs in basic UML style
Get the text that starts a new graph
Generate the text for a single state
The state to generate text for
Generate text for a single transition
Generate the text for a single decision node
Name of the node
Label for the node
A strongly-typed resource class, for looking up localized strings, etc.
Returns the cached ResourceManager instance used by this class.
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
Looks up a localized string similar to An argument of type {0} is required in position {1}..
Looks up a localized string similar to Too many parameters have been supplied. Expecting {0} but got {1}..
Looks up a localized string similar to The argument in position {0} is of type {1} but must be of type {2}..
Convenience method to get for different PCL profiles.
Delegate whose method info is desired
Null if is null, otherwise .
Convenience method to get method name for different PCL profiles.
Delegate whose method name is desired
Null if is null, otherwise .
Information on entry and exit actions
The method invoked during the action (entry or exit)
If non-null, specifies the "from" trigger that must be present for this method to be invoked
Constructor
Constructor
The name of the destination state
The reason this destination state was chosen
List of DynamicStateInfo objects, with "add" function for ease of definition
Add a DynamicStateInfo with less typing
Add a DynamicStateInfo with less typing
Describes a transition that can be initiated from a trigger, but whose result is non-deterministic.
Describes a transition that can be initiated from a trigger.
The state that will be transitioned into on activation.
Describes a trigger that is "ignored" (stays in the same state)
Describes a method - either an action (activate, deactivate, etc.) or a transition guard
Is the method synchronous or asynchronous?
Method is synchronous
Method is asynchronous
The name of the invoked method. If the method is a lambda or delegate, the name will be a compiler-generated
name that is often not human-friendly (e.g. "(.ctor)b__2_0" except with angle brackets instead of parentheses)
Text returned for compiler-generated functions where the caller has not specified a description
A description of the invoked method. Returns:
1) The user-specified description, if any
2) else if the method name is compiler-generated, returns DefaultFunctionDescription
3) else the method name
Returns true if the method is invoked asynchronously.
Describes an internal StateRepresentation through the reflection API.
The instance or value this state represents.
Substates defined for this StateResource.
Superstate defined, if any, for this StateResource.
Actions that are defined to be executed on state-entry.
Actions that are defined to be executed on activation.
Actions that are defined to be executed on deactivation.
Actions that are defined to be exectuted on state-exit.
Transitions defined for this state.
Transitions defined for this state.
Dynamic Transitions defined for this state internally.
Triggers ignored for this state.
Passes through to the value's ToString.
An info object which exposes the states, transitions, and actions of this machine.
Exposes the states, transitions, and actions of this machine.
The type of the underlying state.
The type of the underlying trigger.
The trigger whose firing resulted in this transition.
Method descriptions of the guard conditions.
Returns a non-null but empty list if there are no guard conditions
Represents a trigger in a statemachine.
The instance or value this trigger represents.
Describes the trigger.
A strongly-typed resource class, for looking up localized strings, etc.
Returns the cached ResourceManager instance used by this class.
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
Looks up a localized string similar to Permit() (and PermitIf()) require that the destination state is not equal to the source state. To accept a trigger without changing state, use either Ignore() or PermitReentry()..
Enum for the different modes used when Fire-ing a trigger
Use immediate mode when the queing of trigger events are not needed. Care must be taken when using this mode, as there is no run-to-completion guaranteed.
Use the queued Fire-ing mode when run-to-completion is required. This is the recommended mode.
A strongly-typed resource class, for looking up localized strings, etc.
Returns the cached ResourceManager instance used by this class.
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
Looks up a localized string similar to Parameters for the trigger '{0}' have already been configured..
Looks up a localized string similar to No valid leaving transitions are permitted from state '{1}' for trigger '{0}'. Consider ignoring the trigger..
Looks up a localized string similar to Trigger '{0}' is valid for transition from state '{1}' but a guard conditions are not met. Guard descriptions: '{2}'..
A strongly-typed resource class, for looking up localized strings, etc.
Returns the cached ResourceManager instance used by this class.
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
Looks up a localized string similar to Multiple permitted exit transitions are configured from state '{1}' for trigger '{0}'. Guard clauses must be mutually exclusive..