1 write to _msgPrefix
Infrastructure.Tests (1)
PowerShellScripts\PowerShellCommand.cs (1)
34
_msgPrefix
= string.IsNullOrEmpty(_label) ? string.Empty : $"[{_label}] ";
8 references to _msgPrefix
Infrastructure.Tests (8)
PowerShellScripts\PowerShellCommand.cs (8)
85
_testOutput.WriteLine($"{
_msgPrefix
}Executing - pwsh {fullArgs} {WorkingDirectoryInfo()}");
103
_testOutput.WriteLine($"{
_msgPrefix
}{e.Data}");
118
_testOutput.WriteLine($"{
_msgPrefix
}{e.Data}");
140
_testOutput.WriteLine($"{
_msgPrefix
}Got the Exited event, waiting on WaitForExitAsync");
145
_testOutput.WriteLine($"{
_msgPrefix
}Timed out waiting for it. Ignoring.");
148
_testOutput.WriteLine($"{
_msgPrefix
}Process ran for {runTimeStopwatch.Elapsed.TotalSeconds:F2} secs");
165
_testOutput.WriteLine($"{
_msgPrefix
}Process has been running for {runTimeStopwatch.Elapsed.TotalSeconds:F2} secs");
234
_testOutput.WriteLine($"{
_msgPrefix
}\t[{item.Key}] = {item.Value}");