1 implementation of IStopwatch
dotnet (1)
Commands\Test\MTP\Terminal\SystemStopwatch.cs (1)
8
internal sealed class SystemStopwatch :
IStopwatch
8 references to IStopwatch
dotnet (8)
Commands\Test\MTP\Terminal\SystemStopwatch.cs (1)
18
public static
IStopwatch
StartNew()
Commands\Test\MTP\Terminal\TerminalTestReporter.cs (2)
29
internal Func<
IStopwatch
> CreateStopwatch { get; set; } = SystemStopwatch.StartNew;
141
IStopwatch
sw = CreateStopwatch();
Commands\Test\MTP\Terminal\TestDetailState.cs (2)
6
internal sealed class TestDetailState(long id,
IStopwatch
? stopwatch, string text)
14
public
IStopwatch
? Stopwatch { get; } = stopwatch;
Commands\Test\MTP\Terminal\TestNodeResultsState.cs (1)
18
public void AddRunningTestNode(int id, string uid, string name,
IStopwatch
stopwatch) => _testNodeProgressStates[uid] = new TestDetailState(id, stopwatch, name);
Commands\Test\MTP\Terminal\TestProgressState.cs (2)
9
internal sealed class TestProgressState(long id, string assembly, string? targetFramework, string? architecture,
IStopwatch
stopwatch, bool isDiscovery)
25
public
IStopwatch
Stopwatch { get; } = stopwatch;