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