7 writes to ForegroundColor
Aspire.Dashboard (2)
ConsoleLogs\AnsiParser.cs (2)
227
newState.
ForegroundColor
= color;
239
newState.
ForegroundColor
= null;
Aspire.Dashboard.Tests (5)
ConsoleLogsTests\AnsiParserTests.cs (5)
65
var expectedResidualState = new AnsiParser.ParserState() {
ForegroundColor
= ConsoleColor.Green };
149
Assert.Equal(new AnsiParser.ParserState() {
ForegroundColor
= ConsoleColor.Green }, result1.ResidualState);
165
Assert.Equal(new AnsiParser.ParserState() {
ForegroundColor
= ConsoleColor.Green, BackgroundColor = ConsoleColor.Green }, result1.ResidualState);
217
var expectedResidualState = new AnsiParser.ParserState() {
ForegroundColor
= ConsoleColor.Green, BackgroundColor = ConsoleColor.Green };
241
var expectedResidualState = new AnsiParser.ParserState() { Bright = true,
ForegroundColor
= ConsoleColor.Green };
2 references to ForegroundColor
Aspire.Dashboard (2)
ConsoleLogs\AnsiParser.cs (2)
454
if (newState.
ForegroundColor
.HasValue)
517
return state.
ForegroundColor
switch