27 writes to Args
Aspire.Hosting (3)
DistributedApplication.cs (2)
160
var builder = new DistributedApplicationBuilder(new DistributedApplicationOptions() {
Args
= args });
226
Args
= options.Args ?? [],
DistributedApplicationBuilder.cs (1)
119
public DistributedApplicationBuilder(string[] args) : this(new DistributedApplicationOptions {
Args
= args })
Aspire.Hosting.Containers.Tests (7)
ContainerResourceTests.cs (1)
299
Args
= ["--publisher", "manifest"]
WithDockerfileTests.cs (6)
258
Args
= ["--publisher", "manifest", "--output-path", manifestOutputPath],
306
Args
= ["--publisher", "manifest", "--output-path", manifestOutputPath],
353
Args
= ["--publisher", "manifest", "--output-path", manifestOutputPath],
399
Args
= ["--publisher", "manifest", "--output-path", manifestOutputPath],
843
Args
= ["--publisher", "manifest", "--output-path", manifestOutputPath],
887
Args
= ["--publisher", "manifest", "--output-path", manifestPath],
Aspire.Hosting.Milvus.Tests (1)
AddMilvusTests.cs (1)
133
var appBuilder = DistributedApplication.CreateBuilder(new DistributedApplicationOptions() {
Args
= new string[] { "--publisher", "manifest" } });
Aspire.Hosting.Python.Tests (2)
AddPythonAppTests.cs (2)
33
options.
Args
= ["--publisher", "manifest", "--output-path", manifestPath];
71
options.
Args
= ["--publisher", "manifest", "--output-path", manifestPath];
Aspire.Hosting.Qdrant.Tests (2)
AddQdrantTests.cs (2)
215
var appBuilder = DistributedApplication.CreateBuilder(new DistributedApplicationOptions() {
Args
= new string[] { "--publisher", "manifest" } } );
251
var appBuilder = DistributedApplication.CreateBuilder(new DistributedApplicationOptions() {
Args
= new string[] { "--publisher", "manifest" } });
Aspire.Hosting.Testing (1)
DistributedApplicationFactory.cs (1)
188
applicationOptions.
Args
= hostBuilderOptions.Args;
Aspire.Hosting.Tests (10)
Dashboard\DashboardResourceTests.cs (2)
472
options.
Args
= ["--publisher", "manifest"];
509
options.
Args
= ["--environment", "Development"];
DistributedApplicationBuilderTests.cs (2)
196
Args
= []
203
Args
= []
ManifestGenerationTests.cs (5)
96
Args
= GetManifestArgs(),
117
{
Args
= GetJsonManifestArgs(), DisableDashboard = true, AssemblyName = typeof(ManifestGenerationTests).Assembly.FullName });
551
Args
= GetManifestArgs()
593
Args
= GetManifestArgs()
637
Args
= GetManifestArgs()
Utils\VolumeNameGeneratorTests.cs (1)
110
Args
= [] // Ensure run mode (default)
TestProject.AppHost (1)
TestProgram.cs (1)
49
Args
= args,
9 references to Args
Aspire.Hosting (8)
DistributedApplication.cs (1)
181
/// <see cref="DistributedApplicationOptions.
Args
"/> property to ensure that the app host continues to function
DistributedApplicationBuilder.cs (7)
184
innerBuilderOptions.Args = options.
Args
;
656
_innerBuilder.Configuration.AddCommandLine(options.
Args
?? [], switchMappings);
690
_innerBuilder.Configuration.AddCommandLine(options.
Args
?? [], switchMappings);
697
if (options.
Args
is null || !options.
Args
.Any())
707
if (options.
Args
.Contains("--start-resource"))
713
return options.
Args
?.Any(arg => arg == "--command") ?? false;
Aspire.Hosting.Testing (1)
DistributedApplicationFactory.cs (1)
195
existingConfig.AddCommandLine(applicationOptions.
Args
?? []);