2 writes to Timestamp
Aspire.Dashboard (2)
src\Shared\ConsoleLogs\LogEntry.cs (2)
31
Timestamp
= startTimestamp,
53
Timestamp
= timestamp,
17 references to Timestamp
Aspire.Dashboard (13)
Components\Pages\ConsoleLogs.razor.cs (2)
328
if (logEntry.
Timestamp
is not null && timestampFilterDate is not null && !(logEntry.
Timestamp
> timestampFilterDate))
Components_Controls_LogViewer_razor.g.cs (1)
532
if (ShowTimestamp && context.
Timestamp
is { } timestamp)
src\Shared\ConsoleLogs\LogEntries.cs (10)
62
if (logEntry.
Timestamp
is null)
69
if (pauseVM.ResourcePrefix == logEntry.ResourcePrefix && pauseVM.Contains(logEntry.
Timestamp
.Value))
85
Debug.Assert(logLine.
Timestamp
== null || logLine.
Timestamp
.Value.Kind == DateTimeKind.Utc, "Timestamp should always be UTC.");
100
if (entry.
Timestamp
is { } timestamp && entry.Type is not LogEntryType.Pause)
117
if (logEntry.
Timestamp
== null)
131
if (current.
Timestamp
== null)
142
if (logEntry.
Timestamp
.Value >= current.
Timestamp
.Value)
220
if (_earliestTimestampIndex == null && logEntry.
Timestamp
!= null)
Aspire.Dashboard.Components.Tests (3)
Pages\ConsoleLogsTests.cs (3)
475
timeProvider.UtcNow = earliestEntry.
Timestamp
!.Value;
535
timeProvider.UtcNow = earliestEntry.
Timestamp
!.Value;
537
await consoleLogsManager.UpdateFiltersAsync(new ConsoleLogsFilters { FilterAllLogsDate = earliestEntry.
Timestamp
!.Value });
Aspire.Dashboard.Tests (1)
ConsoleLogsTests\LogEntriesTests.cs (1)
97
Assert.Null(entry.
Timestamp
);