Exemplo n.º 1
0
Arquivo: Setup.cs Projeto: TAGC/TimeIt
 /// <summary>
 /// Creates a new instance of the <see cref="Setup" /> class.
 /// </summary>
 /// <param name="timer">A timer to use for measuring the elapsed time of the code region.</param>
 internal Setup(IRestartableTimer timer)
 {
     _timer     = timer;
     _callbacks = new List <ProcessElapsedTime>();
 }
Exemplo n.º 2
0
 public MockTimeIt(IRestartableTimer timer)
 {
     _timer = timer;
 }