/// <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>(); }
public MockTimeIt(IRestartableTimer timer) { _timer = timer; }