2 writes to Timestamp
Aspire.Hosting (2)
src\Shared\ConsoleLogs\LogEntry.cs (2)
79Timestamp = startTimestamp, 101Timestamp = timestamp,
16 references to Timestamp
Aspire.Hosting (16)
ApplicationModel\ResourceLoggerService.cs (2)
857if (entry.Timestamp != null) 859content = entry.Timestamp.Value.ToString(KnownFormats.ConsoleLogsTimestampFormat, CultureInfo.InvariantCulture) + " " + content;
Dcp\DcpResourceWatcher.cs (3)
731if (logEntry.Timestamp is { } timestamp && 800logEntries.Any(entry => entry.Timestamp is null || entry.Timestamp > pendingDeduplication.LatestTimestamp.Value))
src\Shared\ConsoleLogs\LogEntries.cs (10)
62if (logEntry.Timestamp is null) 69if (pauseVM.ResourcePrefix == logEntry.ResourcePrefix && 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 && entry.Type is not LogEntryType.Pause) 117if (logEntry.Timestamp == null) 131if (current.Timestamp == null) 142if (logEntry.Timestamp.Value >= current.Timestamp.Value) 220if (_earliestTimestampIndex == null && logEntry.Timestamp != null)
src\Shared\ConsoleLogs\LogEntry.cs (1)
125return new(logEntry.Timestamp, logEntry.Content, logEntry.RawContent, logEntry.Type);