StateMachineStateHandler<T>

delegate void StateMachineStateHandler<T>(IStateMachine<T> statemachine, T state)

Represents the method that is called when the state machine changes to the specified state.

Template Parameters

T – The state type of the state machine.

Parameters
  • statemachine – State machine for which the state changed.

  • state – New state of the state machine.