Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Even more fluent syntax #369

Open
wants to merge 70 commits into
base: dev
Choose a base branch
from

Commits on Dec 12, 2017

  1. Configuration menu
    Copy the full SHA
    67979f9 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2018

  1. Fix: JSonExample project moved into example directory.

    Tadas Šukys authored and Henning Torsteinsen committed Mar 23, 2018
    Configuration menu
    Copy the full SHA
    cadcc0e View commit details
    Browse the repository at this point in the history
  2. Update README.md

    Updated DOT graph section, so it no longer refers to missing ToDotGraph method.
    HenningNT authored and Henning Torsteinsen committed Mar 23, 2018
    Configuration menu
    Copy the full SHA
    2d49948 View commit details
    Browse the repository at this point in the history
  3. Add Parameterized Guard Clauses to PermitIf

    Add Parameterized Guard Clauses to PermitIf as optional arguments.  Arguments
    passed into guard(s) must match the arguments of the TriggerWithParameters
    associated with the transition.
    
    - Change GuardCondition to use Func<object[], bool>.
    - Add Unit Tests.
    
    Failing Unit Test:
    - Stateless.Tests.DotGraphFixture.WhenDiscriminatedByNamedDelegate
    - Stateless.Tests.ReflectionFixture.TransitionGuardNames
    - Stateless.Tests.ReflectionFixture.WhenDiscriminatedByNamedDelegate_Binding
    trgrote authored and Henning Torsteinsen committed Mar 23, 2018
    Configuration menu
    Copy the full SHA
    e8e8ca3 View commit details
    Browse the repository at this point in the history
  4. Add PermitDynamicIf<T1[,T2]>

    trgrote authored and Henning Torsteinsen committed Mar 23, 2018
    Configuration menu
    Copy the full SHA
    9a49132 View commit details
    Browse the repository at this point in the history
  5. Change Guard Condition to Preserve No Arg Guard Description

    Add new guard condition constructor that accepts a No Argument Guard condition
    so that we can preserve the initial method description.  Convert to
    Func<object[],bool> much later than in StateConfiguration.
    
    We wrap no argument guard descriptions in a lambda so it can be passed in as a
    Func<object[], bool>, however this had the side effect of ruining reflection and
    graph processes as the original description of the method was lost during this
    conversion.
    
    Unit Tests Now Passing:
    - Stateless.Tests.DotGraphFixture.WhenDiscriminatedByNamedDelegate
    - Stateless.Tests.ReflectionFixture.TransitionGuardNames
    - Stateless.Tests.ReflectionFixture.WhenDiscriminatedByNamedDelegate_Binding
    trgrote authored and Henning Torsteinsen committed Mar 23, 2018
    Configuration menu
    Copy the full SHA
    e639246 View commit details
    Browse the repository at this point in the history
  6. Add Missing PermitIf w/ Parameterized Guard Clauses

    - IgnoreIf
    - PermitDynamicIf
    trgrote authored and Henning Torsteinsen committed Mar 23, 2018
    Configuration menu
    Copy the full SHA
    f8ea45d View commit details
    Browse the repository at this point in the history
  7. Update Parameterized Guard Condition Unit Test

    - Add Permit*If unit tests for multiple guards.
    - Fix Naming.
    - Add Negative Cases.
    trgrote authored and Henning Torsteinsen committed Mar 23, 2018
    Configuration menu
    Copy the full SHA
    a95dcd8 View commit details
    Browse the repository at this point in the history
  8. Change Name of GetGuardConditionsMet to just GuardConditionsMet

    trgrote authored and Henning Torsteinsen committed Mar 23, 2018
    Configuration menu
    Copy the full SHA
    1b44766 View commit details
    Browse the repository at this point in the history
  9. Update Unit tests with new Accessor

    trgrote authored and Henning Torsteinsen committed Mar 23, 2018
    Configuration menu
    Copy the full SHA
    6589502 View commit details
    Browse the repository at this point in the history
  10. Add IgnoreIf unit Tests

    trgrote authored and Henning Torsteinsen committed Mar 23, 2018
    Configuration menu
    Copy the full SHA
    0485701 View commit details
    Browse the repository at this point in the history
  11. Update README.md

    Added a bit of detail about guards.
    HenningNT authored and Henning Torsteinsen committed Mar 23, 2018
    Configuration menu
    Copy the full SHA
    cb30f43 View commit details
    Browse the repository at this point in the history
  12. Add unit tests that should work but don't for some dumb reason

    trgrote authored and Henning Torsteinsen committed Mar 23, 2018
    Configuration menu
    Copy the full SHA
    7ea812e View commit details
    Browse the repository at this point in the history
  13. Add more unit tests

    trgrote authored and Henning Torsteinsen committed Mar 23, 2018
    Configuration menu
    Copy the full SHA
    dbbaa1b View commit details
    Browse the repository at this point in the history
  14. Remove Irrelevenet unit tests

    trgrote authored and Henning Torsteinsen committed Mar 23, 2018
    Configuration menu
    Copy the full SHA
    9396b61 View commit details
    Browse the repository at this point in the history
  15. Re-add publicly accessible guard checks

    Re-Add publicly accessible guard checks in order to support backwards
    compatibility.  These new versions just call the new robust check with zero
    arguments.
    trgrote authored and Henning Torsteinsen committed Mar 23, 2018
    Configuration menu
    Copy the full SHA
    119ec5a View commit details
    Browse the repository at this point in the history
  16. Add Region Description to converters

    trgrote authored and Henning Torsteinsen committed Mar 23, 2018
    Configuration menu
    Copy the full SHA
    43a88ce View commit details
    Browse the repository at this point in the history
  17. Add Missing IgnoreIfs

    trgrote authored and Henning Torsteinsen committed Mar 23, 2018
    Configuration menu
    Copy the full SHA
    7782183 View commit details
    Browse the repository at this point in the history
  18. Add missing InternalTransitionIf

    trgrote authored and Henning Torsteinsen committed Mar 23, 2018
    Configuration menu
    Copy the full SHA
    5f67c34 View commit details
    Browse the repository at this point in the history
  19. Update TryFindLocalHandler to evaluate guard conditions only once

    Update actual trigger behavior results to evaluate instantly by just adding a
    ToArray().
    
    If a IEnumerable with processing, like a Select(), is kept that way, it will
    only go through that processing once it's enumerated.  This causes the guard
    conditions of transitions to be evaluated twice, which was a waste of
    everybody's time.
    trgrote authored and Henning Torsteinsen committed Mar 23, 2018
    Configuration menu
    Copy the full SHA
    f393f52 View commit details
    Browse the repository at this point in the history
  20. Re-add arguments to UnmetGuardConditions that was removed during merge

    trgrote authored and Henning Torsteinsen committed Mar 23, 2018
    Configuration menu
    Copy the full SHA
    ccd01e2 View commit details
    Browse the repository at this point in the history
  21. Add misssing } to unit test

    Fix issue caused by weird merge?
    trgrote authored and Henning Torsteinsen committed Mar 23, 2018
    Configuration menu
    Copy the full SHA
    73ca733 View commit details
    Browse the repository at this point in the history
  22. dotnet-state-machine#155 Removing old backup folder. The sln file is …

    …causing problems for appveyor.
    Henning Torsteinsen authored and Henning Torsteinsen committed Mar 23, 2018
    Configuration menu
    Copy the full SHA
    9c740da View commit details
    Browse the repository at this point in the history
  23. Update appveyor.yml

    Removed install section. It installed .net core, which is already included in the Visual Studio 2017 image.
    Validated yaml file at ci.appveyor.com
    HenningNT authored and Henning Torsteinsen committed Mar 23, 2018
    Configuration menu
    Copy the full SHA
    db46ce3 View commit details
    Browse the repository at this point in the history
  24. Revert "dotnet-state-machine#102 Submitting fix solution file, and Do…

    …tGraph output."
    
    Doing this since upsream has been fixed, and conflicts with this fork.
    
    This reverts commit 67979f9.
    Henning Torsteinsen committed Mar 23, 2018
    Configuration menu
    Copy the full SHA
    a14f1e3 View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2018

  1. Configuration menu
    Copy the full SHA
    a4ba731 View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2020

  1. Merge branch 'dev' of https://github.com/dotnet-state-machine/stateless

    … into dev
    Henning Torsteinsen committed Feb 3, 2020
    Configuration menu
    Copy the full SHA
    cca2a19 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2020

  1. Merge pull request #6 from dotnet-state-machine/dev

    Pick up from upstream
    HenningNT authored Apr 4, 2020
    Configuration menu
    Copy the full SHA
    3d4d8bb View commit details
    Browse the repository at this point in the history
  2. Merge pull request #7 from dotnet-state-machine/master

    Pick up changes from upstream master
    HenningNT authored Apr 4, 2020
    Configuration menu
    Copy the full SHA
    3f323cc View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2020

  1. Configuration menu
    Copy the full SHA
    bf090e5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3531bad View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8142018 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2020

  1. Configuration menu
    Copy the full SHA
    ef7f754 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4739a4c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    83c2e5d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9be9889 View commit details
    Browse the repository at this point in the history
  5. Added Do()

    HenningTorsteinsenBouvet committed Apr 6, 2020
    Configuration menu
    Copy the full SHA
    f548302 View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2020

  1. Configuration menu
    Copy the full SHA
    7c41e78 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fdc25e8 View commit details
    Browse the repository at this point in the history
  3. Tidy up...

    HenningTorsteinsenBouvet committed Apr 7, 2020
    Configuration menu
    Copy the full SHA
    ed26191 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2020

  1. Configuration menu
    Copy the full SHA
    9fd586f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e359847 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1528860 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c18963a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cbe707d View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2020

  1. Decided on only one generic parameter for If() and Do().

    Started on Dynamic() state transition.
    HenningTorsteinsenBouvet committed Apr 13, 2020
    Configuration menu
    Copy the full SHA
    ad8d495 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2020

  1. Configuration menu
    Copy the full SHA
    3826118 View commit details
    Browse the repository at this point in the history
  2. Added Dynamic<TArg>().

    Renamed TArg0 to TArg, since we only have one parameter.
    HenningTorsteinsenBouvet committed Apr 14, 2020
    Configuration menu
    Copy the full SHA
    5058879 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c62c770 View commit details
    Browse the repository at this point in the history
  4. Added XML documentation to new methods.

    Added editorconfig file.
    Cleaned up some warnings/ errors.
    HenningTorsteinsenBouvet committed Apr 14, 2020
    Configuration menu
    Copy the full SHA
    a3f8505 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    32a1731 View commit details
    Browse the repository at this point in the history
  6. Updated examples to new syntax.

    Changes some internal to public.
    HenningTorsteinsenBouvet committed Apr 14, 2020
    Configuration menu
    Copy the full SHA
    2e86cff View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6f32ecb View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2020

  1. Configuration menu
    Copy the full SHA
    a96ac27 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2021

  1. Configuration menu
    Copy the full SHA
    ce15ee4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    71145ba View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    83b3b4b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ea62b44 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4707cd7 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    87aa8df View commit details
    Browse the repository at this point in the history
  7. Removed PermitIf(TTrigger trigger, TState destinationState, Func<bool…

    …> guard, string guardDescription = null)
    
    Added relevant If(...)
    HenningTorsteinsenBouvet committed Feb 6, 2021
    Configuration menu
    Copy the full SHA
    d193875 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d3586fe View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2021

  1. Removed permitReentry.

    Removed async parts.
    Removed fireing mode
    HenningTorsteinsenBouvet committed Feb 7, 2021
    Configuration menu
    Copy the full SHA
    ba9fcc9 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2021

  1. Configuration menu
    Copy the full SHA
    e1e5129 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8ecf32b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8eae6eb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b8a5d89 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    156911b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    834e97c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3c35bf5 View commit details
    Browse the repository at this point in the history