15 writes to SelectedLogEntry
Aspire.Dashboard (2)
Components\Pages\StructuredLogs.razor.cs (2)
300PageViewModel.SelectedLogEntry = logEntryViewModel; 312PageViewModel.SelectedLogEntry = null;
Aspire.Dashboard.Tests (13)
Model\StructuredLogsPageViewModelTests.cs (13)
25vm.SelectedLogEntry = null; 37vm.SelectedLogEntry = await CreateLogDetailsViewModelAsync(repositoryContext.Repository, LogLevel.Warning, "Hello world"); 49vm.SelectedLogEntry = await CreateLogDetailsViewModelAsync(repositoryContext.Repository, LogLevel.Information, "Hello world"); 61vm.SelectedLogEntry = await CreateLogDetailsViewModelAsync(repositoryContext.Repository, LogLevel.Warning, "Hello world"); 74vm.SelectedLogEntry = await CreateLogDetailsViewModelAsync(repositoryContext.Repository, LogLevel.Trace, "any message"); 86vm.SelectedLogEntry = await CreateLogDetailsViewModelAsync(repositoryContext.Repository, LogLevel.Information, "Hello world"); 98vm.SelectedLogEntry = await CreateLogDetailsViewModelAsync(repositoryContext.Repository, LogLevel.Information, "Hello World"); 110vm.SelectedLogEntry = await CreateLogDetailsViewModelAsync(repositoryContext.Repository, LogLevel.Information, "some message"); 124vm.SelectedLogEntry = await CreateLogDetailsViewModelAsync(repositoryContext.Repository, LogLevel.Information, "some message"); 138vm.SelectedLogEntry = await CreateLogDetailsViewModelAsync(repositoryContext.Repository, LogLevel.Information, "Hello world"); 158vm.SelectedLogEntry = await CreateLogDetailsViewModelAsync(repositoryContext.Repository, LogLevel.Information, "Hello world"); 178vm.SelectedLogEntry = await CreateLogDetailsViewModelAsync(repositoryContext.Repository, LogLevel.Information, "Hello world"); 198vm.SelectedLogEntry = await CreateLogDetailsViewModelAsync(repositoryContext.Repository, LogLevel.Warning, "Hello world");
5 references to SelectedLogEntry
Aspire.Dashboard (5)
Components\Pages\StructuredLogs.razor.cs (5)
289if (PageViewModel.SelectedLogEntry?.LogEntry.InternalId == entry.InternalId) 379if (PageViewModel.SelectedLogEntry is null) 402if (entry.InternalId == PageViewModel.SelectedLogEntry?.LogEntry.InternalId) 576if (SelectedLogEntry is null) 581var entry = SelectedLogEntry.LogEntry;