1 write to ArgumentList
Aspire.Hosting.Dotnet (1)
DotnetCliToolSdkVersionProvider.cs (1)
41
ArgumentList
= ["--version"],
5 references to ArgumentList
Aspire.Hosting.Dotnet (5)
src\Aspire.Hosting\Dcp\Process\ProcessUtil.cs (5)
25
if (processSpec.Arguments is not null && processSpec.
ArgumentList
is not null)
27
throw new ArgumentException($"Specify either {nameof(ProcessSpec.Arguments)} or {nameof(ProcessSpec.
ArgumentList
)}, not both.", nameof(processSpec));
58
if (processSpec.
ArgumentList
is not null)
60
foreach (var argument in processSpec.
ArgumentList
)
293
return processSpec.Arguments ?? string.Join(" ", processSpec.
ArgumentList
?.Select(FormatProcessArgumentForDisplay) ?? []);