示例#1
0
 public static void TicketSwitcher(TicketContext context, TicketState state, string fileName)
 {
     context.ChangeState(state);
     context.Read(fileName);
 }