Skip to content

A convention-oriented state machine to ease the burden for typical C# classes. Roslyn is used to generate code at design-time.

License

Notifications You must be signed in to change notification settings

lionfire/class-state-machine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Class State Machine (LionFire.StateMachines.Class)

A convention-oriented state machine to ease the burden for typical C# classes. Roslyn is used to generate code at design-time.

--> Docs & walkthrough: lionfire.readthedocs.io/en/latest/class-state-machine/ <--

Status

Unit tests in this project work, but I'm having issues getting it working in a NETStandard2.0 environment. YMMV. PR's welcome. There are potentially related issues in the upstream with netstandard2.0. See AArnott/CodeGeneration.Roslyn#48

ROSLYN MIGRATION STATUS

The CodeGeneration.Roslyn project itself has been discontinued in favor of the new Roslyn Source Generators. I ported it in the source-generator branch, and the generation works (generator project can't be newer than netstandard2.0), however, Visual Studio 2019 and 2022 claims the generator generated no files, and Intellisense is not picking up which is a dealbreaker for me. I saw others have this problem on a github issue thread but nobody had any answers. So I have to conclude the support for this doesn't seem to be really complete yet.

Info

Package Version Pre-release Downloads
LionFire.StateMachines.Class.Abstractions NuGet NuGet Pre Release NuGet
LionFire.StateMachines.Class NuGet NuGet Pre Release NuGet
LionFire.StateMachines.Class.Generation NuGet NuGet Pre Release NuGet
Target SDK Version OS Status
.NET Core 2.0.0 Ubuntu 14.04 Build Status

About

A convention-oriented state machine to ease the burden for typical C# classes. Roslyn is used to generate code at design-time.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages