18 writes to Args
Aspire.Hosting (2)
DistributedApplication.cs (1)
142var builder = new DistributedApplicationBuilder(new DistributedApplicationOptions() { Args = args });
DistributedApplicationBuilder.cs (1)
94public DistributedApplicationBuilder(string[] args) : this(new DistributedApplicationOptions { Args = args })
Aspire.Hosting.Containers.Tests (5)
ContainerResourceTests.cs (1)
270Args = ["--publisher", "manifest"]
WithDockerfileTests.cs (4)
238Args = ["--publisher", "manifest", "--output-path", manifestOutputPath], 286Args = ["--publisher", "manifest", "--output-path", manifestOutputPath], 333Args = ["--publisher", "manifest", "--output-path", manifestOutputPath], 379Args = ["--publisher", "manifest", "--output-path", manifestOutputPath],
Aspire.Hosting.Milvus.Tests (1)
AddMilvusTests.cs (1)
128var appBuilder = DistributedApplication.CreateBuilder(new DistributedApplicationOptions() { Args = new string[] { "--publisher", "manifest" } });
Aspire.Hosting.Python.Tests (2)
AddPythonAppTests.cs (2)
29options.Args = ["--publisher", "manifest", "--output-path", manifestPath]; 61options.Args = ["--publisher", "manifest", "--output-path", manifestPath];
Aspire.Hosting.Qdrant.Tests (2)
AddQdrantTests.cs (2)
204var appBuilder = DistributedApplication.CreateBuilder(new DistributedApplicationOptions() { Args = new string[] { "--publisher", "manifest" } } ); 240var appBuilder = DistributedApplication.CreateBuilder(new DistributedApplicationOptions() { Args = new string[] { "--publisher", "manifest" } });
Aspire.Hosting.Testing (1)
DistributedApplicationFactory.cs (1)
163applicationOptions.Args = hostBuilderOptions.Args;
Aspire.Hosting.Tests (4)
Dashboard\DashboardResourceTests.cs (2)
370options.Args = ["--publisher", "manifest"]; 407options.Args = ["--environment", "Development"];
ManifestGenerationTests.cs (2)
93Args = GetManifestArgs(), 114{ Args = GetManifestArgs(), DisableDashboard = true, AssemblyName = typeof(ManifestGenerationTests).Assembly.FullName });
TestProject.AppHost (1)
TestProgram.cs (1)
47Args = args,
4 references to Args
Aspire.Hosting (3)
DistributedApplication.cs (1)
163/// <see cref="DistributedApplicationOptions.Args"/> property to ensure that the app host continues to function
DistributedApplicationBuilder.cs (2)
132innerBuilderOptions.Args = options.Args; 405_innerBuilder.Configuration.AddCommandLine(options.Args ?? [], switchMappings);
Aspire.Hosting.Testing (1)
DistributedApplicationFactory.cs (1)
171existingConfig.AddCommandLine(applicationOptions.Args ?? []);