Appccelerate.StateMachine
5.1.0
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" />
paket add Appccelerate.StateMachine --version 5.1.0
#r "nuget: Appccelerate.StateMachine, 5.1.0"
// Install Appccelerate.StateMachine as a Cake Addin
#addin nuget:?package=Appccelerate.StateMachine&version=5.1.0
// Install Appccelerate.StateMachine as a Cake Tool
#tool nuget:?package=Appccelerate.StateMachine&version=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)
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows |
.NET Core | netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard1.3 netstandard1.4 netstandard1.5 netstandard1.6 netstandard2.0 netstandard2.1 |
.NET Framework | net46 net461 net462 net463 net47 net471 net472 net48 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen30 tizen40 tizen60 |
Universal Windows Platform | uap uap10.0 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
-
.NETStandard 1.3
- NETStandard.Library (>= 1.6.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Appccelerate.StateMachine:
Package | Downloads |
---|---|
Weingartner.Wpf.Animation
WPF animation control. Features: * Play, Pause, Forward, Backward buttons * Speed slider * Sticky positions |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
5.1.0 | 174,202 | 11/27/2019 |
5.0.0-pre0003 | 2,157 | 12/22/2017 |
4.5.0-pre0000 | 1,769 | 12/1/2017 |
4.4.0 | 161,795 | 7/7/2017 |
4.0.0 | 3,483 | 6/23/2017 |
3.3.0 | 226,582 | 6/2/2017 |
3.2.0 | 1,053 | 5/24/2017 |
2.12.0 | 36,361 | 1/14/2015 |
2.7.0 | 2,531 | 10/6/2014 |
2.1.0 | 4,553 | 1/20/2014 |
1.0.84 | 3,068 | 5/31/2013 |
1.0.83 | 1,436 | 5/31/2013 |
1.0.44 | 2,747 | 10/28/2012 |
1.0.29 | 1,877 | 6/15/2012 |
1.0.25-alpha | 1,236 | 6/12/2012 |
1.0.24-alpha | 1,302 | 4/5/2012 |
1.0.21-alpha | 1,239 | 3/21/2012 |
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