3 instantiations of ContainerImagePushOptionsCallbackAnnotation
Aspire.Hosting (3)
Pipelines\DistributedApplicationPipeline.cs (1)
130resource.Annotations.Add(new ContainerImagePushOptionsCallbackAnnotation(context =>
ResourceBuilderExtensions.cs (2)
5740return builder.WithAnnotation(new ContainerImagePushOptionsCallbackAnnotation(callback)); 5781return builder.WithAnnotation(new ContainerImagePushOptionsCallbackAnnotation(callback));
19 references to ContainerImagePushOptionsCallbackAnnotation
Aspire.Hosting (5)
ApplicationModel\ContainerImagePushOptionsCallbackAnnotation.cs (2)
22/// Initializes a new instance of the <see cref="ContainerImagePushOptionsCallbackAnnotation"/> class. 38/// Initializes a new instance of the <see cref="ContainerImagePushOptionsCallbackAnnotation"/> class.
ApplicationModel\ResourceExtensions.cs (2)
1345var callbacks = resource.Annotations.OfType<ContainerImagePushOptionsCallbackAnnotation>(); 1347foreach (var callback in callbacks)
Pipelines\DistributedApplicationPipeline.cs (1)
125if (resource.Annotations.OfType<ContainerImagePushOptionsCallbackAnnotation>().Any())
Aspire.Hosting.Dotnet.Tests (2)
ProjectCustomizationCompatibilityTests.cs (2)
40var annotation = Assert.Single(project.Resource.Annotations.OfType<ContainerImagePushOptionsCallbackAnnotation>());
Aspire.Hosting.Tests (12)
ResourceExtensionsTests.cs (12)
357var annotation = Assert.Single(containerResource.Resource.Annotations.OfType<ContainerImagePushOptionsCallbackAnnotation>()); 404var annotations = containerResource.Resource.Annotations.OfType<ContainerImagePushOptionsCallbackAnnotation>().ToList(); 434Assert.Single(containerResource.Resource.Annotations.OfType<ContainerImagePushOptionsCallbackAnnotation>()); 440Assert.Single(projectResource.Resource.Annotations.OfType<ContainerImagePushOptionsCallbackAnnotation>()); 444Assert.Single(executableResource.Resource.Annotations.OfType<ContainerImagePushOptionsCallbackAnnotation>()); 461var annotation = Assert.Single(containerResource.Resource.Annotations.OfType<ContainerImagePushOptionsCallbackAnnotation>()); 488var annotation = Assert.Single(containerResource.Resource.Annotations.OfType<ContainerImagePushOptionsCallbackAnnotation>()); 500var annotation = Assert.Single(containerResource.Resource.Annotations.OfType<ContainerImagePushOptionsCallbackAnnotation>());