8 references to Upsert
Aspire.Dashboard (6)
Components\Pages\ConsoleLogs.razor.cs (2)
158if (ResourceName is not null && PageViewModel.SelectedResource is null && changeType == ResourceViewModelChangeType.Upsert && string.Equals(ResourceName, resource.Name, StringComparisons.ResourceName)) 367if (changeType == ResourceViewModelChangeType.Upsert)
Components\Pages\Resources.razor.cs (1)
215if (changeType == ResourceViewModelChangeType.Upsert)
Model\ResourceOutgoingPeerResolver.cs (1)
46if (changeType == ResourceViewModelChangeType.Upsert)
ResourceService\DashboardClient.cs (2)
349changes.Add(new(ResourceViewModelChangeType.Upsert, viewModel)); 366changes.Add(new(ResourceViewModelChangeType.Upsert, viewModel));
Aspire.Dashboard.Components.Tests (1)
Pages\ConsoleLogsTests.cs (1)
70new ResourceViewModelChange(ResourceViewModelChangeType.Upsert, testResource)
Aspire.Dashboard.Tests (1)
ResourceOutgoingPeerResolverTests.cs (1)
146await sourceChannel.Writer.WriteAsync(new ResourceViewModelChange(ResourceViewModelChangeType.Upsert, CreateResource("test2")));