12 instantiations of LogEntries
Aspire.Dashboard (2)
Components\Legacy\Pages\ConsoleLogs.razor.cs (1)
187
_logEntries =
new
(DashboardUIHelpers.GetVirtualizedItemCount(Options.Value.Frontend.MaxConsoleLogCount));
Components\Pages\ConsoleLogs.razor.cs (1)
209
_logEntries =
new
(DashboardUIHelpers.GetVirtualizedItemCount(Options.Value.Frontend.MaxConsoleLogCount));
Aspire.Dashboard.Components.Tests (9)
Controls\LogViewerTests.cs (9)
27
var logEntries = new
LogEntries
(maximumEntryCount: int.MaxValue) { BaseLineNumber = 1 };
71
var logEntries = new
LogEntries
(maximumEntryCount: int.MaxValue) { BaseLineNumber = 1 };
106
builder.Add(p => p.LogEntries, new
LogEntries
(maximumEntryCount: int.MaxValue));
202
var logEntries = new
LogEntries
(maximumEntryCount: int.MaxValue) { BaseLineNumber = 1 };
242
var logEntries = new
LogEntries
(maximumEntryCount: int.MaxValue) { BaseLineNumber = 1 };
359
var logEntries = new
LogEntries
(maximumEntryCount: int.MaxValue) { BaseLineNumber = 1 };
391
var logEntries = new
LogEntries
(maximumEntryCount: int.MaxValue) { BaseLineNumber = 1 };
419
var logEntries = new
LogEntries
(maximumEntryCount: int.MaxValue) { BaseLineNumber = 1 };
454
var logEntries = new
LogEntries
(maximumEntryCount: int.MaxValue) { BaseLineNumber = 1 };
Aspire.Dashboard.Tests (1)
ConsoleLogsTests\LogEntriesTests.cs (1)
13
var logEntries = new
LogEntries
(maximumEntryCount: maximumEntryCount ?? int.MaxValue);
36 references to LogEntries
Aspire.Dashboard (4)
Components\Controls\LogViewer.razor.cs (2)
32
private
LogEntries
? _logEntries;
51
public
LogEntries
? LogEntries { get; set; } = null!;
Components\Legacy\Pages\ConsoleLogs.razor.cs (1)
156
internal
LogEntries
_logEntries = null!;
Components\Pages\ConsoleLogs.razor.cs (1)
177
internal
LogEntries
_logEntries = null!;
Aspire.Dashboard.Components.Tests (16)
Controls\LogViewerTests.cs (15)
27
var
logEntries = new LogEntries(maximumEntryCount: int.MaxValue) { BaseLineNumber = 1 };
71
var
logEntries = new LogEntries(maximumEntryCount: int.MaxValue) { BaseLineNumber = 1 };
134
var
logEntries = CreateLogEntries("apple log", "banana log", "cherry log");
155
var
logEntries = CreateLogEntries("Error connecting", "Information ready");
176
var
logEntries = CreateLogEntries("apple log", "banana log");
202
var
logEntries = new LogEntries(maximumEntryCount: int.MaxValue) { BaseLineNumber = 1 };
242
var
logEntries = new LogEntries(maximumEntryCount: int.MaxValue) { BaseLineNumber = 1 };
268
var
logEntries = CreateLogEntries("apple log", "banana log", "cherry log");
298
var
logEntries = CreateLogEntries("apple log", "banana log", "cherry log");
324
var
logEntries = CreateLogEntries("apple log", "banana log");
359
var
logEntries = new LogEntries(maximumEntryCount: int.MaxValue) { BaseLineNumber = 1 };
391
var
logEntries = new LogEntries(maximumEntryCount: int.MaxValue) { BaseLineNumber = 1 };
419
var
logEntries = new LogEntries(maximumEntryCount: int.MaxValue) { BaseLineNumber = 1 };
452
private static
LogEntries
CreateLogEntries(params string[] messages)
454
var
logEntries = new LogEntries(maximumEntryCount: int.MaxValue) { BaseLineNumber = 1 };
Pages\ConsoleLogsTests.cs (1)
1130
void PrintCurrentLogEntries(
LogEntries
logEntries)
Aspire.Dashboard.Tests (16)
ConsoleLogsTests\LogEntriesTests.cs (16)
11
private static
LogEntries
CreateLogEntries(int? maximumEntryCount = null, int? baseLineNumber = null)
13
var
logEntries = new LogEntries(maximumEntryCount: maximumEntryCount ?? int.MaxValue);
18
private static void AddLogLine(
LogEntries
logEntries, string content, bool isError)
35
var
oneByOne = CreateLogEntries(maximumEntryCount, baseLineNumber: 7);
36
var
merged = CreateLogEntries(maximumEntryCount, baseLineNumber: 7);
87
var
logEntries = CreateLogEntries();
104
var
logEntries = CreateLogEntries();
132
var
logEntries = CreateLogEntries();
163
var
logEntries = CreateLogEntries();
178
var
logEntries = CreateLogEntries();
196
var
logEntries = CreateLogEntries();
239
var
logEntries = CreateLogEntries();
288
var
logEntries = CreateLogEntries();
313
var
logEntries = CreateLogEntries();
334
var
logEntries = CreateLogEntries(maximumEntryCount: 2);
354
var
logEntries = CreateLogEntries(maximumEntryCount: 2);