30 writes to Args
Aspire.Hosting (3)
DistributedApplication.cs (2)
166var builder = new DistributedApplicationBuilder(new DistributedApplicationOptions() { Args = args }); 234Args = options.Args ?? [],
DistributedApplicationBuilder.cs (1)
127public DistributedApplicationBuilder(string[] args) : this(new DistributedApplicationOptions { Args = args })
Aspire.Hosting.Containers.Tests (7)
ContainerResourceTests.cs (1)
293Args = ["--publisher", "manifest"]
WithDockerfileTests.cs (6)
268Args = ["--publisher", "manifest", "--output-path", manifestOutputPath], 318Args = ["--publisher", "manifest", "--output-path", manifestOutputPath], 367Args = ["--publisher", "manifest", "--output-path", manifestOutputPath], 415Args = ["--publisher", "manifest", "--output-path", manifestOutputPath], 873Args = ["--publisher", "manifest", "--output-path", manifestOutputPath], 918Args = ["--publisher", "manifest", "--output-path", manifestPath],
Aspire.Hosting.Milvus.Tests (1)
AddMilvusTests.cs (1)
131var appBuilder = DistributedApplication.CreateBuilder(new DistributedApplicationOptions() { Args = new string[] { "--publisher", "manifest" } });
Aspire.Hosting.Python.Tests (2)
AddPythonAppTests.cs (2)
34options.Args = ["--publisher", "manifest", "--output-path", manifestPath]; 72options.Args = ["--publisher", "manifest", "--output-path", manifestPath];
Aspire.Hosting.Qdrant.Tests (2)
AddQdrantTests.cs (2)
246var appBuilder = DistributedApplication.CreateBuilder(new DistributedApplicationOptions() { Args = new string[] { "--publisher", "manifest" } } ); 282var appBuilder = DistributedApplication.CreateBuilder(new DistributedApplicationOptions() { Args = new string[] { "--publisher", "manifest" } });
Aspire.Hosting.Testing (2)
DistributedApplicationFactory.cs (1)
187applicationOptions.Args = hostBuilderOptions.Args;
DistributedApplicationTestingBuilder.cs (1)
345applicationOptions.Args = hostBuilderOptions.Args;
Aspire.Hosting.Tests (12)
AspireEnvironmentTests.cs (1)
82Args = ["--environment", "Production"]
Dashboard\DashboardResourceTests.cs (2)
631options.Args = ["--publisher", "manifest"]; 668options.Args = ["--environment", "Development"];
DistributedApplicationBuilderTests.cs (3)
185Args = [$"{KnownConfigNames.AspireUserSecretsId}={userSecretsId}"], 334Args = [] 341Args = []
ManifestGenerationTests.cs (5)
97Args = GetManifestArgs(), 118{ Args = GetJsonManifestArgs(), DisableDashboard = true, AssemblyName = typeof(ManifestGenerationTests).Assembly.FullName }); 556Args = GetManifestArgs() 598Args = GetManifestArgs() 642Args = GetManifestArgs()
Utils\VolumeNameGeneratorTests.cs (1)
111Args = [] // Ensure run mode (default)
TestProject.AppHost (1)
TestProgram.cs (1)
51Args = args,
6 references to Args
Aspire.Hosting (3)
DistributedApplication.cs (1)
187/// <see cref="DistributedApplicationOptions.Args"/> property to ensure that the app host continues to function
DistributedApplicationBuilder.cs (2)
197innerBuilderOptions.Args = options.Args; 794_innerBuilder.Configuration.AddCommandLine(options.Args ?? [], switchMappings);
Aspire.Hosting.Testing (3)
DistributedApplicationFactory.cs (1)
194existingConfig.AddCommandLine(applicationOptions.Args ?? []);
DistributedApplicationTestingBuilder.cs (2)
334string[] existingArgs = ReferenceEquals(hostBuilderOptions.Args, applicationOptions.Args) 336: [.. hostBuilderOptions.Args ?? [], .. applicationOptions.Args ?? []];