예제 #1
0
 public void ChangeState()
 {
     _stopWatch.SetCurrentState(new StopState(_stopWatch));
 }
예제 #2
0
 public void ChangeState()
 {
     _stopWatch.SetCurrentState(new RunningState(_stopWatch));
 }