Workflow<SimpleState> workflow = new Workflow<SimpleState>() .Do(EasyAction) workflow.Start(new SimpleState());
public void EasyAction(SimpleState state) { //Your code here }
public class SimpleState { //Your statefull content here }