Exemplo 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;
 }
Exemplo n.º 2
0
 //public virtual Unit UnitHandler { get; set; }
 public abstract void Handle(Proposal context, StateChangeInfo stateChangeInfo);
Exemplo n.º 3
0
 public void Request(StateChangeInfo stateChangeInfo)
 {
     CurrentState.Handle(this,stateChangeInfo);
 }