4 writes to DockerfileFactory
Aspire.Hosting (1)
ContainerResourceBuilderExtensions.cs (1)
730DockerfileFactory = dockerfileFactory
Aspire.Hosting.Tests (3)
ApplicationModel\Docker\DockerfileBuildAnnotationTests.cs (3)
106DockerfileFactory = _ => Task.FromResult(expectedContent) 142DockerfileFactory = _ => 182DockerfileFactory = async _ =>
37 references to DockerfileFactory
Aspire.Hosting (5)
ApplicationModel\DockerfileBuildAnnotation.cs (2)
78if (DockerfileFactory is null) 98var dockerfileContent = await DockerfileFactory(context).ConfigureAwait(false);
Publishing\ManifestPublishingContext.cs (1)
375if (annotation.DockerfileFactory is not null)
Publishing\ResourceContainerImageManager.cs (1)
424if (dockerfileBuildAnnotation.DockerfileFactory is not null)
Utils\DockerfileHelper.cs (1)
26if (annotation.DockerfileFactory is not null)
Aspire.Hosting.Azure (1)
AzurePublishingContext.cs (1)
316dockerfileBuildAnnotation.DockerfileFactory is not null)
Aspire.Hosting.Containers.Tests (5)
WithDockerfileTests.cs (5)
771Assert.NotNull(annotation.DockerfileFactory); 799var generatedContent = await annotation.DockerfileFactory(context); 822Assert.NotNull(annotation.DockerfileFactory); 831var generatedContent = await annotation.DockerfileFactory(context); 873Assert.NotNull(annotation.DockerfileFactory);
Aspire.Hosting.Docker (1)
DockerComposePublishingContext.cs (1)
87dockerfileBuildAnnotation.DockerfileFactory is not null)
Aspire.Hosting.Kubernetes (1)
KubernetesPublishingContext.cs (1)
75dockerfileBuildAnnotation.DockerfileFactory is not null)
Aspire.Hosting.Tests (13)
ApplicationModel\Docker\WithDockerfileBuilderTests.cs (13)
71Assert.NotNull(buildAnnotation.DockerfileFactory); 92Assert.NotNull(buildAnnotation.DockerfileFactory); 102var dockerfile = await buildAnnotation.DockerfileFactory(factoryContext); 153var dockerfile = await buildAnnotation.DockerfileFactory!(factoryContext); 189var dockerfile = await buildAnnotation.DockerfileFactory!(factoryContext); 223var dockerfile = await buildAnnotation.DockerfileFactory!(factoryContext); 264var dockerfile = await buildAnnotation.DockerfileFactory!(factoryContext); 334Assert.NotNull(buildAnnotation.DockerfileFactory); 344var dockerfile = await buildAnnotation.DockerfileFactory(factoryContext); 370Assert.NotNull(buildAnnotation.DockerfileFactory); 380var dockerfile = await buildAnnotation.DockerfileFactory(factoryContext); 406Assert.NotNull(buildAnnotation.DockerfileFactory); 445var dockerfile = await buildAnnotation.DockerfileFactory!(factoryContext);
Aspire.Hosting.Yarp.Tests (11)
AddYarpTests.cs (11)
192Assert.NotNull(annotation.DockerfileFactory); 205Assert.NotNull(annotation.DockerfileFactory); 214var dockerfile = await annotation.DockerfileFactory(context); 283Assert.NotNull(buildAnnotation.DockerfileFactory); 294var dockerfile = await buildAnnotation.DockerfileFactory(context); 313Assert.NotNull(buildAnnotation.DockerfileFactory); 325var dockerfile = await buildAnnotation.DockerfileFactory(context); 346Assert.NotNull(buildAnnotation.DockerfileFactory); 357var dockerfile = await buildAnnotation.DockerfileFactory(context); 384Assert.NotNull(buildAnnotation.DockerfileFactory); 395var dockerfile = await buildAnnotation.DockerfileFactory(context);