示例#1
0
文件: Program.cs 项目: shennwei/Notes
 public void SetState(WorkState state)
 {
     current = state;
 }
示例#2
0
文件: Program.cs 项目: shennwei/Notes
 public Work()
 {
     current = new ForenoonState();
 }