4 overrides of ElapsedSeconds
Microsoft.Build (1)
Logging\TerminalLogger\SystemStopwatch.cs (1)
12public override double ElapsedSeconds => _stopwatch.Elapsed.TotalSeconds;
Microsoft.Build.Engine.UnitTests (3)
MockStopwatch.cs (1)
10public override double ElapsedSeconds
StaticStopwatch.cs (1)
18public override double ElapsedSeconds { get; }
TickingStopwatch.cs (1)
21public override double ElapsedSeconds
8 references to ElapsedSeconds
Microsoft.Build (8)
Logging\TerminalLogger\TerminalLogger.cs (2)
606string duration = project.Stopwatch.ElapsedSeconds.ToString("F1"); 709string duration = project.Stopwatch.ElapsedSeconds.ToString("F1");
Logging\TerminalLogger\TerminalNodesFrame.cs (2)
49status.Stopwatch.ElapsedSeconds); 137string durationString = ResourceUtilities.FormatResourceStringIgnoreCodeAndKeyword("DurationDisplay", _nodes[i].nodeStatus.Stopwatch.ElapsedSeconds);
Logging\TerminalLogger\TerminalNodeStatus.cs (4)
79(null, null) => $"{TerminalLogger.Indentation}{Project} {Target} ({Stopwatch.ElapsedSeconds:F1}s)", 80(null, _) => $"{TerminalLogger.Indentation}{Project} {AnsiCodes.Colorize(RuntimeIdentifier, TerminalLogger.RuntimeIdentifierColor)} {Target} ({Stopwatch.ElapsedSeconds:F1}s)", 81(_, null) => $"{TerminalLogger.Indentation}{Project} {AnsiCodes.Colorize(TargetFramework, TerminalLogger.TargetFrameworkColor)} {Target} ({Stopwatch.ElapsedSeconds:F1}s)", 82_ => $"{TerminalLogger.Indentation}{Project} {AnsiCodes.Colorize(TargetFramework, TerminalLogger.TargetFrameworkColor)} {AnsiCodes.Colorize(RuntimeIdentifier, TerminalLogger.RuntimeIdentifierColor)} {Target} ({Stopwatch.ElapsedSeconds:F1}s)"