StateBliss 1.0.3

Finite state machine with fluent syntax. i.e.
return new State<Order, OrderState>(order, a => a.Uid, a => a.State)
               .Define(b =>
               {
                   b.From(OrderState.Initial).To(OrderState.Paid)
                       .Changing(ChangingHandler);                    
                   b.From(OrderState.Paid).To(OrderState.Processing);
                   b.From(OrderState.Processing).To(OrderState.Processed);                    
               });

//trigger state change
var cmd = new StateContext<OrderState>()
{
   Uid = uid,
   ToState = OrderState.Paid
};
StateMachineManager.Trigger(cmd);

There is a newer version of this package available.
See the version list below for details.
Install-Package StateBliss -Version 1.0.3
dotnet add package StateBliss --version 1.0.3
<PackageReference Include="StateBliss" Version="1.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add StateBliss --version 1.0.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

  • .NETCoreApp 2.1

    • No dependencies.
  • .NETCoreApp 2.2

    • No dependencies.
  • .NETFramework 4.7.1

    • No dependencies.
  • .NETFramework 4.7.2

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.5 91 8/25/2019
1.0.4 72 8/25/2019
1.0.3 87 8/6/2019
1.0.2 85 8/3/2019
1.0.1 83 7/30/2019
1.0.0 84 7/29/2019