10 references to Registry
Aspire.Hosting (5)
ApplicationModel\ResourceExtensions.cs (3)
1192return registryTargetAnnotations[0].Registry; 1197var registryNames = string.Join(", ", registryTargetAnnotations.Select(a => a.Registry is IResource res ? res.Name : a.Registry.ToString()));
Pipelines\DistributedApplicationPipeline.cs (2)
220var registryNames = string.Join(", ", registryTargetAnnotations.Select(a => a.Registry is IResource res ? res.Name : a.Registry.ToString()));
Aspire.Hosting.Foundry.Tests (1)
HostedAgentExtensionTests.cs (1)
145Assert.Same(registry.Resource, registryTarget.Registry);
Aspire.Hosting.Tests (4)
ContainerRegistryResourceTests.cs (4)
527Assert.Same(registry.Resource, registryTargetAnnotation.Registry); 550var registryResources = registryTargetAnnotations.Select(a => a.Registry).ToList(); 707Assert.Same(acr.Resource, registryTargetAnnotation.Registry); 792var registryResources = registryTargetAnnotations.Select(a => a.Registry).ToList();