5 writes to ArgumentList
Aspire.Hosting (1)
ResourceBuilderExtensions.cs (1)
3448ArgumentList = arguments,
Aspire.Hosting.Blazor (1)
BlazorDotNetCliRunner.cs (1)
37ArgumentList = argumentList,
Aspire.Hosting.Tests (2)
Dcp\ProcessUtilTests.cs (2)
146ArgumentList = DotnetFileAppProcess.CreateArguments(appPath), 173ArgumentList = ["--info"],
Aspire.Hosting.TestUtilities (1)
Utils\DotnetFileAppProcess.cs (1)
70ArgumentList = CreateArguments(appPath, arguments),
15 references to ArgumentList
Aspire.Hosting (5)
Dcp\Process\ProcessUtil.cs (5)
24if (processSpec.Arguments is not null && processSpec.ArgumentList is not null) 26throw new ArgumentException($"Specify either {nameof(ProcessSpec.Arguments)} or {nameof(ProcessSpec.ArgumentList)}, not both.", nameof(processSpec)); 57if (processSpec.ArgumentList is not null) 59foreach (var argument in processSpec.ArgumentList) 186return processSpec.Arguments ?? string.Join(" ", processSpec.ArgumentList?.Select(FormatProcessArgumentForDisplay) ?? []);
Aspire.Hosting.Tests (10)
WithProcessCommandTests.cs (10)
133Assert.Equal(["--export"], processSpec.ArgumentList); 199Assert.Equal(["--message", "hello-from-options-callback"], processSpec.ArgumentList); 281Assert.Equal(["--message", "hello-from-factory"], processSpec.ArgumentList); 396Assert.Equal(["hello-from-argument"], processSpec.ArgumentList); 457Assert.Equal(["--message", "hello-from-backchannel"], processSpec.ArgumentList); 494Assert.Equal(["from-async-factory"], processSpec.ArgumentList); 537Assert.Equal(["arg-1"], processSpec.ArgumentList); 542Assert.Equal(["arg-2"], processSpec.ArgumentList); 902Assert.Equal(expectedArguments, processSpec.ArgumentList); 1096Assert.Equal(["--from-export"], processSpec.ArgumentList);