26 writes to Args
Aspire.Hosting (2)
DistributedApplication.cs (1)
149
var builder = new DistributedApplicationBuilder(new DistributedApplicationOptions() {
Args
= args });
DistributedApplicationBuilder.cs (1)
110
public DistributedApplicationBuilder(string[] args) : this(new DistributedApplicationOptions {
Args
= args })
Aspire.Hosting.Containers.Tests (7)
ContainerResourceTests.cs (1)
299
Args
= ["--publisher", "manifest"]
WithDockerfileTests.cs (6)
262
Args
= ["--publisher", "manifest", "--output-path", manifestOutputPath],
310
Args
= ["--publisher", "manifest", "--output-path", manifestOutputPath],
357
Args
= ["--publisher", "manifest", "--output-path", manifestOutputPath],
403
Args
= ["--publisher", "manifest", "--output-path", manifestOutputPath],
844
Args
= ["--publisher", "manifest", "--output-path", manifestOutputPath],
888
Args
= ["--publisher", "manifest", "--output-path", manifestPath],
Aspire.Hosting.Milvus.Tests (1)
AddMilvusTests.cs (1)
127
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)
203
var appBuilder = DistributedApplication.CreateBuilder(new DistributedApplicationOptions() {
Args
= new string[] { "--publisher", "manifest" } } );
239
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)
462
options.
Args
= ["--publisher", "manifest"];
499
options.
Args
= ["--environment", "Development"];
DistributedApplicationBuilderTests.cs (2)
195
Args
= []
202
Args
= []
ManifestGenerationTests.cs (5)
96
Args
= GetManifestArgs(),
117
{
Args
= GetJsonManifestArgs(), DisableDashboard = true, AssemblyName = typeof(ManifestGenerationTests).Assembly.FullName });
561
Args
= GetManifestArgs()
603
Args
= GetManifestArgs()
647
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)
170
/// <see cref="DistributedApplicationOptions.
Args
"/> property to ensure that the app host continues to function
DistributedApplicationBuilder.cs (7)
175
innerBuilderOptions.Args = options.
Args
;
615
_innerBuilder.Configuration.AddCommandLine(options.
Args
?? [], switchMappings);
649
_innerBuilder.Configuration.AddCommandLine(options.
Args
?? [], switchMappings);
656
if (options.
Args
is null || !options.
Args
.Any())
666
if (options.
Args
.Contains("--start-resource"))
672
return options.
Args
?.Any(arg => arg == "--command") ?? false;
Aspire.Hosting.Testing (1)
DistributedApplicationFactory.cs (1)
195
existingConfig.AddCommandLine(applicationOptions.
Args
?? []);