2 writes to Timestamp
Aspire.Dashboard (2)
src\Shared\ConsoleLogs\LogEntry.cs (2)
30Timestamp = startTimestamp, 50Timestamp = timestamp,
16 references to Timestamp
Aspire.Dashboard (12)
Components\Pages\ConsoleLogs.razor.cs (2)
538if (logEntry.Timestamp is not null && timestampFilterDate is not null && !(logEntry.Timestamp > timestampFilterDate))
src\Shared\ConsoleLogs\LogEntries.cs (10)
62if (logEntry.Timestamp is null) 69if (pauseVM.Contains(logEntry.Timestamp.Value)) 85Debug.Assert(logLine.Timestamp == null || logLine.Timestamp.Value.Kind == DateTimeKind.Utc, "Timestamp should always be UTC."); 100if (entry.Timestamp is { } timestamp) 117if (logEntry.Timestamp == null || logEntry.Type is LogEntryType.Pause) 131if (current.Timestamp == null) 142if (logEntry.Timestamp.Value >= current.Timestamp.Value) 220if (_earliestTimestampIndex == null && logEntry.Timestamp != null)
Aspire.Dashboard.Components.Tests (3)
Pages\ConsoleLogsTests.cs (3)
366timeProvider.UtcNow = earliestEntry.Timestamp!.Value; 426timeProvider.UtcNow = earliestEntry.Timestamp!.Value; 428await consoleLogsManager.UpdateFiltersAsync(new ConsoleLogsFilters { FilterAllLogsDate = earliestEntry.Timestamp!.Value });
Aspire.Dashboard.Tests (1)
ConsoleLogsTests\LogEntriesTests.cs (1)
96Assert.Null(entry.Timestamp);