Implemented interface member:
property
PageViewModel
Aspire.Dashboard.Components.Pages.IPageWithSessionAndUrlState<TViewModel, TSerializableViewModel>.PageViewModel
1 write to PageViewModel
Aspire.Dashboard (1)
Components\Pages\StructuredLogs.razor.cs (1)
194PageViewModel = new StructuredLogsPageViewModel
11 references to PageViewModel
Aspire.Dashboard (11)
Components\Pages\StructuredLogs.razor.cs (11)
246if (_logsSubscription is null || _logsSubscription.ApplicationKey != PageViewModel.SelectedApplication.Id?.GetApplicationKey()) 249_logsSubscription = TelemetryRepository.OnNewLogs(PageViewModel.SelectedApplication.Id?.GetApplicationKey(), SubscriptionType.Read, async () => 309PropertyKeys = TelemetryRepository.GetLogPropertyKeys(PageViewModel.SelectedApplication.Id?.GetApplicationKey()), 434LogLevelText = PageViewModel.SelectedLogLevel.Id?.ToString().ToLowerInvariant(), 435SelectedApplication = PageViewModel.SelectedApplication.Id is not null ? PageViewModel.SelectedApplication.Name : null, 443ViewModel.ApplicationKey = PageViewModel.SelectedApplication.Id?.GetApplicationKey(); 447PageViewModel.SelectedLogLevel = _logLevels.SingleOrDefault(e => e.Id == logLevel) ?? _logLevels[0]; 451PageViewModel.SelectedLogLevel = _logLevels[0]; 454ViewModel.LogLevel = PageViewModel.SelectedLogLevel.Id; 498new ComponentTelemetryProperty(TelemetryPropertyKeys.StructuredLogsSelectedLogLevel, new AspireTelemetryProperty(PageViewModel.SelectedLogLevel.Id?.ToString() ?? string.Empty, AspireTelemetryPropertyType.UserSetting)),