35 references to InsertSorted
Aspire.Dashboard (4)
Components\Legacy\Pages\ConsoleLogs.razor.cs (1)
370
_logEntries.
InsertSorted
(logEntry);
Components\Pages\ConsoleLogs.razor.cs (1)
407
_logEntries.
InsertSorted
(logEntry);
src\Shared\ConsoleLogs\LogEntries.cs (2)
80
/// Inserts log entries at their positions according to their timestamps, like calling <see cref="
InsertSorted
"/>
96
InsertSorted
(logEntry);
Aspire.Dashboard.Components.Tests (11)
Controls\LogViewerTests.cs (11)
28
logEntries.
InsertSorted
(entry);
29
logEntries.
InsertSorted
(repeatedEntry);
72
logEntries.
InsertSorted
(LogEntry.Create(
208
logEntries.
InsertSorted
(pauseEntry);
210
logEntries.
InsertSorted
(LogEntry.Create(
243
logEntries.
InsertSorted
(LogEntry.Create(
337
logEntries.
InsertSorted
(LogEntry.Create(
360
logEntries.
InsertSorted
(LogEntry.Create(
392
logEntries.
InsertSorted
(LogEntry.Create(
421
logEntries.
InsertSorted
(LogEntry.Create(
458
logEntries.
InsertSorted
(LogEntry.Create(
Aspire.Dashboard.Tests (20)
ConsoleLogsTests\LogEntriesTests.cs (20)
22
logEntries.
InsertSorted
(logEntry);
52
oneByOne.
InsertSorted
(one);
53
merged.
InsertSorted
(other);
63
oneByOne.
InsertSorted
(entry);
89
logEntries.
InsertSorted
(logParser.CreateLogEntry("2024-08-19T06:12:30.000Z last", isErrorOutput: false, resourcePrefix: null));
90
logEntries.
InsertSorted
(LogEntry.CreatePause("resource", new DateTime(2024, 8, 19, 6, 12, 40, DateTimeKind.Utc)));
111
logEntries.
InsertSorted
(logEntry1);
115
logEntries.
InsertSorted
(logEntry2);
122
logEntries.
InsertSorted
(logEntry3);
138
logEntries.
InsertSorted
(LogEntry.CreatePause(
145
logEntries.
InsertSorted
(pauseEntry);
318
logEntries.
InsertSorted
(LogEntry.Create(timestamp.AddSeconds(1), "1", isErrorMessage: false));
319
logEntries.
InsertSorted
(LogEntry.Create(timestamp.AddSeconds(3), "3", isErrorMessage: false));
320
logEntries.
InsertSorted
(LogEntry.Create(timestamp.AddSeconds(2), "2", isErrorMessage: false));
339
logEntries.
InsertSorted
(LogEntry.Create(timestamp.AddSeconds(1), "1", isErrorMessage: false));
340
logEntries.
InsertSorted
(LogEntry.Create(timestamp.AddSeconds(2), "2", isErrorMessage: false));
341
logEntries.
InsertSorted
(LogEntry.Create(timestamp.AddSeconds(3), "3", isErrorMessage: false));
359
logEntries.
InsertSorted
(LogEntry.Create(timestamp.AddSeconds(1), "1", isErrorMessage: false));
360
logEntries.
InsertSorted
(LogEntry.Create(timestamp.AddSeconds(3), "3", isErrorMessage: false));
361
logEntries.
InsertSorted
(LogEntry.Create(timestamp.AddSeconds(2), "2", isErrorMessage: false));