Tags: mtone/stateless
Tags
Release for 4.4.0 (dotnet-state-machine#351) * Fix typo * Code clean-up: - Replace Count() with Any() - Removing dead code - Remove duplicate code * Undo PR dotnet-state-machine#251 to prevent breaking working code * Make the internal state graph classes public to enable extensibility; rename IGraphStyle to GraphStyleBase. * Fix typo * Modified HandleReentryTrigger and HandleTransitioningTrigger, added EnterState to handle common code when entering a state. Added unit test for issue dotnet-state-machine#299. The modified code fixes the bug. * Brought back guard description when guard prevents transition, but in a way that won't break NoExceptionWhenPermitIfHasMultipleExclusiveGuardsBothFalse test * Check if we are transitioning to superstate & Add Unit Test for AsyncTransitionToSuperstateDoesNotExitSuperstate * Fixed a minor typo in Bug.cs * Don't prematurely execute guard checks See dotnet-state-machine#315 * Add additional framework targets * netstandard2.0 upgrade * review changes * multiple targetframeworks again + netstandard2.0 * unformat * Re-pin assembly version * Correct copyright year * <GenerateAssemblyVersionAttribute>false</GenerateAssemblyVersionAttribute> * Missed using stmt * Restore explanatory comment * Replace expired NuGet.org key * Fix merge result * update README Add note that stateless Targets .NET Standard 2.0, too. Furthermore I built stateless with VS 2019, no problem. * fix for TelephoneCallExample * A basic attempt at adding Trigger parameters to the OnTransitioned (dotnet-state-machine#348) * A basic attempt at adding Trigger parameters to the OnTransitioned event. This was requested in dotnet-state-machine#346 and something I was interested in as well. This change is more of a proof of concept to see if the maintainers consider this type of an approach acceptable. If so, I would add tests and ensure that if the parameters are not specified they are stored as an empty array on the Transition object. * Transition.Parameters is never null. If a Trigger has no parameters, the transition's Parameters property will be an empty array. * Adds unit tests to validate the parameters passed to a parameterized trigger are correctly set on the Transition object, and accessible from OnTransitioned. * Update CHANGELOG.md * Update CHANGELOG.md Changed release version to 4.4.0 * Update dev version for a new release * The state mutator was called twice in HandleTransitioningTrigger. This is not needed, and can cause problems for those that store state externally. Added conditional, so the State is only set once. * Fixed bug dotnet-state-machine#345 Wrong behavior with FiringMode.Immediate in version 4.3.0 Updated state representation after executing representation.Enter. The state can change because immediate fireing can change state. * Fixed bug dotnet-state-machine#339 OnEntry behavour different: Unit test broken when updated to 4.3.0 from 4.2.1. The problem was caused by entering the superstate when handling the initial transition. Added a check to see if transition is initial, or regular. * Also fixes the async version of the superstate problem. Ref dotnet-state-machine#292 as well. * Updated changelog Co-authored-by: mike <mike706574@users.noreply.github.com> Co-authored-by: Matthias Baer <matthiasbaer@bluewin.ch> Co-authored-by: mclift <mike@mclift.net> Co-authored-by: Blackbaud-JonathanBell <jonathan.bell@blackbaud.com> Co-authored-by: yonkahlon <yonkahlon@gmail.com> Co-authored-by: Simo Paasisalo <simo.paasisalo@ymparisto.fi> Co-authored-by: myrup <github@myl.dk> Co-authored-by: Andrew Lock <andrewlock.net@gmail.com> Co-authored-by: Vincent van Proosdij <mini32@gmail.com> Co-authored-by: Nicholas Blumhardt <nblumhardt@nblumhardt.com> Co-authored-by: Jan Hecht <jan.hecht@jh-isw.de> Co-authored-by: Michael <fourjustoneday@yandex.ru> Co-authored-by: smnbackwards <niklas.steidl@googlemail.com>