15 writes to SelectedLogEntry
Aspire.Dashboard (2)
Components\Pages\StructuredLogs.razor.cs (2)
308PageViewModel.SelectedLogEntry = logEntryViewModel; 320PageViewModel.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)
297if (PageViewModel.SelectedLogEntry?.LogEntry.InternalId == entry.InternalId) 387if (PageViewModel.SelectedLogEntry is null) 410if (entry.InternalId == PageViewModel.SelectedLogEntry?.LogEntry.InternalId) 607if (SelectedLogEntry is null) 612var entry = SelectedLogEntry.LogEntry;