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