20 writes to Args
Aspire.Hosting (2)
DistributedApplication.cs (1)
141var builder = new DistributedApplicationBuilder(new DistributedApplicationOptions() { Args = args });
DistributedApplicationBuilder.cs (1)
91public DistributedApplicationBuilder(string[] args) : this(new DistributedApplicationOptions { Args = args })
Aspire.Hosting.Containers.Tests (5)
ContainerResourceTests.cs (1)
230Args = ["--publisher", "manifest"]
WithDockerfileTests.cs (4)
160Args = ["--publisher", "manifest", "--output-path", manifestOutputPath], 208Args = ["--publisher", "manifest", "--output-path", manifestOutputPath], 255Args = ["--publisher", "manifest", "--output-path", manifestOutputPath], 301Args = ["--publisher", "manifest", "--output-path", manifestOutputPath],
Aspire.Hosting.Milvus.Tests (1)
AddMilvusTests.cs (1)
132var appBuilder = DistributedApplication.CreateBuilder(new DistributedApplicationOptions() { Args = new string[] { "--publisher", "manifest" } });
Aspire.Hosting.Python.Tests (2)
AddPythonProjectTests.cs (2)
29options.Args = ["--publisher", "manifest", "--output-path", manifestPath]; 59options.Args = ["--publisher", "manifest", "--output-path", manifestPath];
Aspire.Hosting.Qdrant.Tests (2)
AddQdrantTests.cs (2)
207var appBuilder = DistributedApplication.CreateBuilder(new DistributedApplicationOptions() { Args = new string[] { "--publisher", "manifest" } } ); 243var appBuilder = DistributedApplication.CreateBuilder(new DistributedApplicationOptions() { Args = new string[] { "--publisher", "manifest" } });
Aspire.Hosting.Testing (1)
DistributedApplicationFactory.cs (1)
148applicationOptions.Args = applicationOptions.Args switch
Aspire.Hosting.Tests (6)
Dashboard\DashboardResourceTests.cs (2)
339options.Args = ["--publisher", "manifest"]; 372options.Args = ["--environment", "Development"];
ManifestGenerationTests.cs (2)
92Args = GetManifestArgs(), 150{ Args = GetManifestArgs(), DisableDashboard = true, AssemblyName = typeof(ManifestGenerationTests).Assembly.FullName });
Utils\TestDistributedApplicationBuilder.cs (2)
45return new TestDistributedApplicationBuilder(options => options.Args = args); 50return new TestDistributedApplicationBuilder(options => options.Args = args, testOutputHelper);
TestProject.AppHost (1)
TestProgram.cs (1)
47Args = args,
4 references to Args
Aspire.Hosting (3)
DistributedApplication.cs (1)
162/// <see cref="DistributedApplicationOptions.Args"/> property to ensure that the app host continues to function
DistributedApplicationBuilder.cs (2)
129innerBuilderOptions.Args = options.Args; 328_innerBuilder.Configuration.AddCommandLine(options.Args ?? [], switchMappings);
Aspire.Hosting.Testing (1)
DistributedApplicationFactory.cs (1)
148applicationOptions.Args = applicationOptions.Args switch