示例#1
0
文件: Ticket.cs 项目: sstae/contactus
 internal void ChangeTo(TicketState toState)
 {
     if (CurrentState.CanChangeTo(toState.Status)) {
         TicketStates.Add(toState);
     }
 }
示例#2
0
 internal void ChangeStatus(TicketState state)
 {
     TicketStates.Add(state);
     //CurrentState = state;
 }
示例#3
0
 internal void ChangeStatus(TicketState state)
 {
     TicketStates.Add(state);
 }