statemachine icon indicating copy to clipboard operation
statemachine copied to clipboard

A .net library that lets you build state machines (hierarchical, async with fluent definition syntax and reporting capabilities).

Results 17 statemachine issues
Sort by recently updated
recently updated
newest added

Question: Is there a way to abort the state machine to prevent any further transitions? I used the Stop() method, but it doesn't stop it. I understand it may not...

Appccelerate’s base extension methods are a great debugging tool. I use them all the time to help debug new state machines or state machines being modified or enhanced. In a...

This prevents getting the `IState` of the initial status. Example extension code: ```csharp private class CurrentStatusExtension : AsyncExtensionBase { private readonly AppccelerateTestData _instance; public CurrentStatusExtension(AppccelerateTestData instance) { _instance = instance;...

I'm experiencing issues with the current implementation related to the storage of internal state: The state machine should ideally be stateless, as the only state present within a state machine...

Is it possible to react to two different events in the same way? Example: _stateMachine.In(States.A) .On(Events.B).Or(Events.C) .If(Something).Goto(States.C).Execute(ComplicatedStuff) .If(SomethingElse).Goto(States.D).Execute(MoreStuff) .Otherwise().Goto(States.E).Execute(Cleanup); I want to not copy the whole if-otherwise-lines for the second...

Hi, I'm using your StateMachine implementation with extensions and I have a couple of problems : - The StateMachine does not notify at all the extensions at Load() the initialized...

enhancement

I miss the support for deferred events in 5.1.0. I need to transition to another state before I can handle an abort event. I can work around it but it...