Statemachine that transitions to target state and fires transitions and states between?
问题 I recently used the Stateless state machine. I can define the rules for transitions etc. like this: stateMachine.Configure(State.Unknown) .Permit(Trigger.StartApplication, State.Initialized) .OnEntry(this.DoBeforeTransition) .OnExit(this.DoAfterTransition); stateMachine.Configure(State.Initialized) .Permit(Trigger.CheckSomething, State.SomethingChecked) .OnEntry(this.DoBeforeTransition) .OnExit(this.DoAfterTransition); and then you are able to fire a trigger to change the state. However, you