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)
195
PageViewModel
= new StructuredLogsPageViewModel
11 references to PageViewModel
Aspire.Dashboard (11)
Components\Pages\StructuredLogs.razor.cs (11)
245
if (_logsSubscription is null || _logsSubscription.ApplicationKey !=
PageViewModel
.SelectedApplication.Id?.GetApplicationKey())
248
_logsSubscription = TelemetryRepository.OnNewLogs(
PageViewModel
.SelectedApplication.Id?.GetApplicationKey(), SubscriptionType.Read, async () =>
308
PropertyKeys = TelemetryRepository.GetLogPropertyKeys(
PageViewModel
.SelectedApplication.Id?.GetApplicationKey()),
433
LogLevelText =
PageViewModel
.SelectedLogLevel.Id?.ToString().ToLowerInvariant(),
434
SelectedApplication =
PageViewModel
.SelectedApplication.Id is not null ?
PageViewModel
.SelectedApplication.Name : null,
442
ViewModel.ApplicationKey =
PageViewModel
.SelectedApplication.Id?.GetApplicationKey();
446
PageViewModel
.SelectedLogLevel = _logLevels.SingleOrDefault(e => e.Id == logLevel) ?? _logLevels[0];
450
PageViewModel
.SelectedLogLevel = _logLevels[0];
453
ViewModel.LogLevel =
PageViewModel
.SelectedLogLevel.Id;
497
new ComponentTelemetryProperty(TelemetryPropertyKeys.StructuredLogsSelectedLogLevel, new AspireTelemetryProperty(
PageViewModel
.SelectedLogLevel.Id?.ToString() ?? string.Empty, AspireTelemetryPropertyType.UserSetting)),