Exemplo n.º 1
0
 public void ChangeState()
 {
     _stopWatch.SetCurrentState(new StopState(_stopWatch));
 }
Exemplo n.º 2
0
 public void ChangeState()
 {
     _stopWatch.SetCurrentState(new RunningState(_stopWatch));
 }