Hierarchical state machine with fluent definition syntax
states and events can be defined with enums, strings or ints - resulting in single class state machines,
actions on transitions, entry and exit actions, transition guards,
hierarchical with different history behaviors to initialize state always to same state or last active state,
fluent definition interface,
synchronous/asynchronous state machine (passive state machine handles state transitions synchronously, active state machine handles state transitions asynchronously on the worker thread of the state machine),
extensible thorough logging,
state machine report for description of state machine (csv, yEd)
Install-Package Appccelerate.StateMachine -Version 5.0.0-pre0003
dotnet add package Appccelerate.StateMachine --version 5.0.0-pre0003
<PackageReference Include="Appccelerate.StateMachine" Version="5.0.0-pre0003" />
paket add Appccelerate.StateMachine --version 5.0.0-pre0003
missing to 5.0:
- define a state machine from a definition (faster creation of state machines) (requested by Jason Sobell https://github.com/jsobell)
- pass IState instead of TState to extensions (requested by https://github.com/djack42
- targeting .net standard 1.1 (needed for async active state machine)
- adds AsyncActiveStateMachine - state machine supporting dot net standard with an internal worker thread.
- AsyncPassiveStateMachine's internal event queue is now thread-safe.
- Extensions are now notified when a state machine is loaded (thanks to https://github.com/djack42)
- Extensions of async state machines support now async as well.
- fixed: non-initialized state machines can now be loaded
- fixed: namespace in generated XML for YEd (thanks to https://github.com/djack42)
- back to .net standard 1.0
- fixed nuget package containing wrong assembly
- adds AsyncPassiveStateMachine that supports async/await for transition actions, entry/exit actions, guards and save/load.
- targets .net standard 1.3 to support async/await
- fixed: wrong target framework was specified in nuget package. Now targets .net standard 1.0
- targets now .net standard 1.0 so you can use the state machine almost anywhere .net exists
- fixed a bug when passing a 'null' argument to the state machine
This package has no dependencies.
Showing the top 1 GitHub repositories that depend on Appccelerate.StateMachine:
Official ReSharper extension for StyleCop