Esempio n. 1
0
 public static Problem RegisterStateToTechnicalCommitteeState(Problem problem,IEnumerable<Unit> technicalCommittes)
 {
     var untiRepo = ObjectMother.GetUnitRepository();
     var stateInfo = new StateChangeInfo() { RecieverUnits = technicalCommittes.ToList() };
     problem.Request(stateInfo);
     return problem;
 }
Esempio n. 2
0
 //public virtual Unit UnitHandler { get; set; }
 public abstract void Handle(Proposal context, StateChangeInfo stateChangeInfo);
Esempio n. 3
0
 public void Request(StateChangeInfo stateChangeInfo)
 {
     CurrentState.Handle(this,stateChangeInfo);
 }