Appccelerate.StateMachine 5.1.0

Hierarchical state machine with fluent definition syntax
     Features:
     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.1.0
dotnet add package Appccelerate.StateMachine --version 5.1.0
<PackageReference Include="Appccelerate.StateMachine" Version="5.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Appccelerate.StateMachine --version 5.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

5.1.0:
     - completely redesigned the state machine definition API.
       You can now define a state machine definition and then spawn state machine instances from the definition.
       This speeds up creation of state machines from a static definition for example in ASP.NET requests.
       The initial state is set at definition time (on the definition) and not on the state machine anymore.
       The interfaces of the extensions had to be changed, too.
       For details see https://github.com/appccelerate/statemachine/pull/51, https://github.com/appccelerate/statemachine/pull/52 and https://github.com/appccelerate/statemachine/pull/53
     - Loading and saving the state machinbe now includes the queued events. The whole internal state holding was redesigned to be in a single place. Details see https://github.com/appccelerate/statemachine/pull/53
     - fixed that Fire on AsyncActiveStateMachine could not complete on blocking ExecuteOnEntry. Details see https://github.com/appccelerate/statemachine/pull/49
     - changed release pipeline of Appccelerate.StateMachine and lots of internal stuff

     4.4.0:
     - back to .net standard 1.0
     - fixed nuget package containing wrong assembly

     4.0.0:
     - 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

     3.3.0:
     - fixed: wrong target framework was specified in nuget package. Now targets .net standard 1.0

     3.2.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

Showing the top 1 GitHub repositories that depend on Appccelerate.StateMachine:

Repository Stars
StyleCop/StyleCop.ReSharper
Official ReSharper extension for StyleCop

Read more about the GitHub Usage information on our documentation.

Version History

Version Downloads Last updated
5.1.0 1,022 11/27/2019
5.0.0-pre0003 1,357 12/22/2017
4.5.0-pre0000 1,181 12/1/2017
4.4.0 58,318 7/7/2017
4.0.0 2,897 6/23/2017
3.3.0 23,470 6/2/2017
3.2.0 467 5/24/2017
2.12.0 23,993 1/14/2015
2.7.0 1,911 10/6/2014
2.1.0 3,440 1/20/2014
1.0.84 1,961 5/31/2013
1.0.83 863 5/31/2013
1.0.44 1,859 10/28/2012
1.0.29 990 6/15/2012
1.0.25-alpha 783 6/12/2012
1.0.24-alpha 842 4/5/2012
1.0.21-alpha 749 3/21/2012