6 writes to DockerfileFactory
Aspire.Hosting (1)
ContainerResourceBuilderExtensions.cs (1)
840DockerfileFactory = dockerfileFactory
Aspire.Hosting.Blazor.Tests (1)
AddBlazorGatewayTests.cs (1)
234DockerfileFactory = gatewayBuild.DockerfileFactory,
Aspire.Hosting.Rust (1)
RustHostingExtensions.cs (1)
822DockerfileFactory = async factoryContext =>
Aspire.Hosting.Tests (3)
ApplicationModel\Docker\DockerfileBuildAnnotationTests.cs (3)
105DockerfileFactory = _ => Task.FromResult(expectedContent) 141DockerfileFactory = _ => 181DockerfileFactory = async _ =>
44 references to DockerfileFactory
Aspire.Hosting (6)
ApplicationModel\DockerfileBuildAnnotation.cs (3)
91if (DockerfileFactory is null) 111var dockerfileContent = await DockerfileFactory(context).ConfigureAwait(false); 132/// This method materializes a Dockerfile from <see cref="DockerfileFactory"/> when present, then
Publishing\ManifestPublishingContext.cs (1)
388if (annotation.DockerfileFactory is not null)
Publishing\ResourceContainerImageManager.cs (1)
944if (dockerfileBuildAnnotation.DockerfileFactory is not null)
Utils\DockerfileHelper.cs (1)
26if (annotation.DockerfileFactory is not null)
Aspire.Hosting.Azure (1)
AzurePublishingContext.cs (1)
451dockerfileBuildAnnotation.DockerfileFactory is not null)
Aspire.Hosting.Blazor.Tests (3)
AddBlazorGatewayTests.cs (3)
101Assert.NotNull(build.DockerfileFactory); 110var dockerfile = await build.DockerfileFactory(context); 234DockerfileFactory = gatewayBuild.DockerfileFactory,
Aspire.Hosting.Containers.Tests (5)
WithDockerfileTests.cs (5)
796Assert.NotNull(annotation.DockerfileFactory); 824var generatedContent = await annotation.DockerfileFactory(context); 848Assert.NotNull(annotation.DockerfileFactory); 857var generatedContent = await annotation.DockerfileFactory(context); 902Assert.NotNull(annotation.DockerfileFactory);
Aspire.Hosting.Docker (1)
DockerComposePublishingContext.cs (1)
86dockerfileBuildAnnotation.DockerfileFactory is not null)
Aspire.Hosting.EntityFrameworkCore.Tests (1)
EFMigrationPipelineTests.cs (1)
469Assert.NotNull(dockerfileAnnotation.DockerfileFactory);
Aspire.Hosting.Java.Tests (1)
AddJavaAppPublishTests.cs (1)
2391() => annotation.DockerfileFactory!(context));
Aspire.Hosting.JavaScript (1)
JavaScriptHostingExtensions.cs (1)
1951dockerfileBuildAnnotation.DockerfileFactory is not null ||
Aspire.Hosting.Kubernetes (1)
KubernetesPublishingContext.cs (1)
85dockerfileBuildAnnotation.DockerfileFactory is not null)
Aspire.Hosting.Tests (13)
ApplicationModel\Docker\WithDockerfileBuilderTests.cs (13)
70Assert.NotNull(buildAnnotation.DockerfileFactory); 91Assert.NotNull(buildAnnotation.DockerfileFactory); 101var dockerfile = await buildAnnotation.DockerfileFactory(factoryContext); 152var dockerfile = await buildAnnotation.DockerfileFactory!(factoryContext); 188var dockerfile = await buildAnnotation.DockerfileFactory!(factoryContext); 222var dockerfile = await buildAnnotation.DockerfileFactory!(factoryContext); 263var dockerfile = await buildAnnotation.DockerfileFactory!(factoryContext); 333Assert.NotNull(buildAnnotation.DockerfileFactory); 343var dockerfile = await buildAnnotation.DockerfileFactory(factoryContext); 369Assert.NotNull(buildAnnotation.DockerfileFactory); 379var dockerfile = await buildAnnotation.DockerfileFactory(factoryContext); 405Assert.NotNull(buildAnnotation.DockerfileFactory); 444var dockerfile = await buildAnnotation.DockerfileFactory!(factoryContext);
Aspire.Hosting.Yarp.Tests (11)
AddYarpTests.cs (11)
215Assert.NotNull(annotation.DockerfileFactory); 228Assert.NotNull(annotation.DockerfileFactory); 237var dockerfile = await annotation.DockerfileFactory(context); 306Assert.NotNull(buildAnnotation.DockerfileFactory); 317var dockerfile = await buildAnnotation.DockerfileFactory(context); 336Assert.NotNull(buildAnnotation.DockerfileFactory); 348var dockerfile = await buildAnnotation.DockerfileFactory(context); 369Assert.NotNull(buildAnnotation.DockerfileFactory); 380var dockerfile = await buildAnnotation.DockerfileFactory(context); 407Assert.NotNull(buildAnnotation.DockerfileFactory); 418var dockerfile = await buildAnnotation.DockerfileFactory(context);