11 references to ViewModel
Aspire.Dashboard (10)
Components\Controls\StructuredLogDetails.razor.cs (5)
45ViewModel.LogEntry.ResourceView.AllProperties().Select(p => new TelemetryPropertyViewModel { Name = p.DisplayName, Key = p.Key, Value = p.Value }) 66if (!ReferenceEquals(ViewModel, _viewModel)) 69if (ViewModel.LogEntry.InternalId != _viewModel?.LogEntry.InternalId) 77_viewModel = ViewModel; 190c.BuildIceBreakers = (builder, context) => builder.StructuredLogs(context, ViewModel.LogEntry);
Components_Controls_StructuredLogDetails_razor.g.cs (3)
205__builder2.AddContent(8, (MarkupString)string.Format(ControlsStrings.StructuredLogsDetailsResource, ViewModel.LogEntry.ResourceView.Resource.ResourceName) 254FormatHelpers.FormatTimeWithOptionalDate(TimeProvider, ViewModel.LogEntry.TimeStamp, MillisecondsDisplay.Full) 263__builder2.AddContent(17, (MarkupString)string.Format(ControlsStrings.StructuredLogsDetailsTimestamp, FormatHelpers.FormatTimeWithOptionalDate(TimeProvider, ViewModel.LogEntry.TimeStamp, MillisecondsDisplay.Truncated))
Components_Pages_StructuredLogs_razor.g.cs (1)
1891ViewModel
Components_Pages_TraceDetail_razor.g.cs (1)
2848ViewModel
Aspire.Dashboard.Components.Tests (1)
Controls\StructuredLogDetailsTests.cs (1)
57builder.Add(p => p.ViewModel, model);