public void SetInitial(PressState state) { InitialState = state; }
public void AddState(PressState state) { //System.Workflow.ComponentModel.WorkflowChanges tx = new System.Workflow.ComponentModel.WorkflowChanges(this); _tx.TransientWorkflow.Activities.Add(state); //this.ApplyWorkflowChanges(tx); }
public void AddState(string name, PressState state) { _stateChanges.Add(name, new Dictionary<string, string>()); _stateDescr.Add(name, state); }