mabra
unread,May 25, 2013, 6:54:41 PM5/25/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dotnet-state-ma...@googlegroups.com
Hello !
Until now, I wrote my stateengines according to the OO state pattern [I think]. So, I have an object, which's
state to manage and this has a state field, where this is a concrete class of the valid states. This state class
has one method, say "Do", which executes something, which leads to one of the next states. This decision
is made in that current states method. This method updates the objects state field with a new class,
implementing just the next/fitting state. On the state-changed event, the new states class method is called ....
I do not understand triggers! Where do I have the method, which makes the work ????
Then I see ".Permit" and do not understand, why this should exist. From my example
above, only valid states and their methods are there. In ".Permit(..)", I can only defined one
destination state, where I am expecting multiple.
Any good note would probably help me a lot!
Thanks so far and
best regards,
++mabra