SimpleStateMachineLibrary icon indicating copy to clipboard operation
SimpleStateMachineLibrary copied to clipboard

Code generation

Open RomanSoloweow opened this issue 4 years ago • 1 comments

Now the user needs to remember what name the transitions and states are described inside the file. And work with them happens like this:

stateMachine.GetState("State1");

And I would like so

stateMachine.State1;

I must say that dynamic will not work, because you still need to remember the name. Some kind of code generation is probably needed here, but so far I have not found a solution.

RomanSoloweow avatar Jun 29 '20 22:06 RomanSoloweow