phatboyg/Automatonymous — Issue #2: Dynamic Event Methods
Author: phatboyg
Created: 2012-03-06 19:39:09+00:00
State: open

Support dynamic, allowing events to be raised using the event name as a method invocation.

Something like:

machine.Approve(instance) - Event = Approve
instance.Approve() - could be done if instance implemented a dynamic target (optional, seems to confuse responsibilities)

supportTicketWorkflow.Close(ticket);

Just idea...