1 write to _msgPrefix
Infrastructure.Tests (1)
PowerShellScripts\PowerShellCommand.cs (1)
35
_msgPrefix
= string.IsNullOrEmpty(_label) ? string.Empty : $"[{_label}] ";
8 references to _msgPrefix
Infrastructure.Tests (8)
PowerShellScripts\PowerShellCommand.cs (8)
86
_testOutput.WriteLine($"{
_msgPrefix
}Executing - pwsh {fullArgs} {WorkingDirectoryInfo()}");
104
_testOutput.WriteLine($"{
_msgPrefix
}{e.Data}");
119
_testOutput.WriteLine($"{
_msgPrefix
}{e.Data}");
141
_testOutput.WriteLine($"{
_msgPrefix
}Got the Exited event, waiting on WaitForExitAsync");
146
_testOutput.WriteLine($"{
_msgPrefix
}Timed out waiting for it. Ignoring.");
149
_testOutput.WriteLine($"{
_msgPrefix
}Process ran for {runTimeStopwatch.Elapsed.TotalSeconds:F2} secs");
166
_testOutput.WriteLine($"{
_msgPrefix
}Process has been running for {runTimeStopwatch.Elapsed.TotalSeconds:F2} secs");
235
_testOutput.WriteLine($"{
_msgPrefix
}\t[{item.Key}] = {item.Value}");