コード例 #1
0
ファイル: ObjectMother.cs プロジェクト: rashad803/NewPropose
 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;
 }
コード例 #2
0
ファイル: ProposalState.cs プロジェクト: rashad803/NewPropose
 //public virtual Unit UnitHandler { get; set; }
 public abstract void Handle(Proposal context, StateChangeInfo stateChangeInfo);
コード例 #3
0
ファイル: Problem.cs プロジェクト: rashad803/NewPropose
 public void Request(StateChangeInfo stateChangeInfo)
 {
     CurrentState.Handle(this,stateChangeInfo);
 }