13 writes to Content
aspire (2)
Commands\LogsCommand.cs (2)
230Content = entry.Content ?? entry.RawContent ?? string.Empty, 331Content = content,
Aspire.Cli.Tests (11)
Commands\LogsCommandTests.cs (11)
39Content = "日本語ログ émojis", // Japanese log with accented characters 66Content = "Test", 85Content = "Line with \"quotes\" and \\ backslash and\ttab", 104Content = "First line\nSecond line\r\nThird line", 277new LogLineJson { ResourceName = "frontend", Content = "Starting...", IsError = false }, 278new LogLineJson { ResourceName = "frontend", Content = "Ready", IsError = false }, 279new LogLineJson { ResourceName = "backend", Content = "Error occurred", IsError = true } 319new LogLineJson { ResourceName = "frontend", Content = "Line 1", IsError = false }, 320new LogLineJson { ResourceName = "frontend", Content = "Line 2", IsError = false }, 321new LogLineJson { ResourceName = "backend", Content = "Error", IsError = true } 348Content = "Line with\nnewline and\ttab and \"quotes\" and \\backslash",
14 references to Content
Aspire.Cli.Tests (14)
Commands\LogsCommandTests.cs (14)
55Assert.Equal(logLine.Content, deserialized.Content); 94Assert.Equal(logLine.Content, deserialized.Content); 112Assert.Equal(logLine.Content, deserialized.Content); 367Assert.Equal(logLine.Content, deserialized.Content); 473Assert.Equal("Ready to accept connections", logsOutput.Logs[0].Content); 478Assert.Equal("Hello from replica 1", logsOutput.Logs[1].Content); 483Assert.Equal("Hello from replica 2", logsOutput.Logs[2].Content); 512Assert.Equal("Ready to accept connections", logsOutput.Logs[0].Content); 517Assert.Equal("Hello from replica 1", logsOutput.Logs[1].Content); 522Assert.Equal("Hello from replica 2", logsOutput.Logs[2].Content);