2 writes to Timestamp
aspire (2)
src\Shared\ConsoleLogs\LogEntry.cs (2)
79Timestamp = startTimestamp, 101Timestamp = timestamp,
17 references to Timestamp
aspire (17)
Commands\LogsCommand.cs (6)
269Timestamp = timestamps && entry.Timestamp.HasValue ? FormatTimestamp(entry.Timestamp.Value) : null, 447var timestampPrefix = timestamps && entry.Timestamp.HasValue ? FormatTimestamp(entry.Timestamp.Value) + " " : string.Empty; 455Timestamp = timestamps && entry.Timestamp.HasValue ? FormatTimestamp(entry.Timestamp.Value) : null,
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);