87 writes to Arguments
Aspire.Hosting (2)
ApplicationModel\ResourceCommandService.cs (2)
372
Arguments
= arguments
446
Arguments
= context.Arguments
Aspire.Hosting.Azure.Tests (64)
AzureEnvironmentResourceExtensionsTests.cs (64)
113
Arguments
= new InteractionInputCollection([])
185
Arguments
= new InteractionInputCollection([])
310
Arguments
= new InteractionInputCollection([
658
Arguments
= new InteractionInputCollection([])
712
Arguments
= new InteractionInputCollection([])
1072
Arguments
= CreateArguments((AzureBicepResource.KnownParameters.Location, "West US 3"))
1153
Arguments
= new InteractionInputCollection([])
1237
Arguments
= new InteractionInputCollection([])
1506
Arguments
= new InteractionInputCollection([])
1570
Arguments
= new InteractionInputCollection([])
1631
Arguments
= new InteractionInputCollection([])
1692
Arguments
= new InteractionInputCollection([])
1827
Arguments
= new InteractionInputCollection([])
1885
Arguments
= new InteractionInputCollection([])
1936
Arguments
= new InteractionInputCollection([])
1948
Arguments
= new InteractionInputCollection([])
2032
Arguments
= new InteractionInputCollection([])
2116
Arguments
= new InteractionInputCollection([])
2210
Arguments
= new InteractionInputCollection([])
2281
Arguments
= new InteractionInputCollection([])
2359
Arguments
= new InteractionInputCollection([])
2373
Arguments
= new InteractionInputCollection([])
2438
Arguments
= new InteractionInputCollection([])
2502
Arguments
= new InteractionInputCollection([])
2556
Arguments
= new InteractionInputCollection([])
2616
Arguments
= new InteractionInputCollection([])
2693
Arguments
= new InteractionInputCollection([])
2707
Arguments
= new InteractionInputCollection([])
2770
Arguments
= new InteractionInputCollection([])
2787
Arguments
= new InteractionInputCollection([])
2868
Arguments
= new InteractionInputCollection([])
2914
Arguments
= new InteractionInputCollection([])
2967
Arguments
= new InteractionInputCollection([])
2981
Arguments
= new InteractionInputCollection([])
3034
Arguments
= CreateArguments(("location", "westus2"))
3107
Arguments
= new InteractionInputCollection([])
3160
Arguments
= CreateArguments((AzureBicepResource.KnownParameters.Location, "West US 3"))
3220
Arguments
= CreateArguments((AzureBicepResource.KnownParameters.Location, "West US 3"))
3281
Arguments
= new InteractionInputCollection([])
3351
Arguments
= CreateArguments((AzureBicepResource.KnownParameters.Location, "westus3"))
3412
Arguments
= new InteractionInputCollection([])
3481
Arguments
= CreateArguments(
3538
Arguments
= new InteractionInputCollection([])
3601
Arguments
= new InteractionInputCollection([])
3672
Arguments
= CreateArguments((AzureBicepResource.KnownParameters.Location, "westus3"))
3727
Arguments
= new InteractionInputCollection([])
3767
Arguments
= CreateArguments(
3841
Arguments
= CreateArguments(
3889
Arguments
= CreateArguments(
3945
Arguments
= CreateArguments(
4092
Arguments
= new InteractionInputCollection([])
4171
Arguments
= new InteractionInputCollection([])
4243
Arguments
= new InteractionInputCollection([])
4323
Arguments
= new InteractionInputCollection([])
4397
Arguments
= new InteractionInputCollection([])
4449
Arguments
= new InteractionInputCollection([])
4495
Arguments
= includeLocationArgument
4541
Arguments
= new InteractionInputCollection([])
4609
Arguments
= new InteractionInputCollection([])
4848
Arguments
= new InteractionInputCollection([])
4900
Arguments
= new InteractionInputCollection([])
4947
Arguments
= new InteractionInputCollection([])
4995
Arguments
= new InteractionInputCollection([])
5133
Arguments
= new InteractionInputCollection([])
Aspire.Hosting.Blazor.Tests (2)
BlazorHostedExtensionsTests.cs (1)
328
Arguments
= new InteractionInputCollection([])
WithBlazorAppTests.cs (1)
326
Arguments
= new InteractionInputCollection([])
Aspire.Hosting.DevTunnels.Tests (3)
DevTunnelResourceBuilderExtensionsTests.cs (3)
575
Arguments
= new InteractionInputCollection([]),
627
Arguments
= new InteractionInputCollection([]),
675
Arguments
= new InteractionInputCollection([]),
Aspire.Hosting.Foundry.Tests (1)
PromptAgentTests.cs (1)
193
Arguments
= new InteractionInputCollection(
Aspire.Hosting.Maui.Tests (1)
MauiBuildQueueTests.cs (1)
1156
Arguments
= new InteractionInputCollection([])
Aspire.Hosting.MongoDB.Tests (2)
tests\Shared\ContainerReplCommandTestBase.cs (2)
88
Arguments
= new InteractionInputCollection([]),
111
Arguments
= new InteractionInputCollection([]),
Aspire.Hosting.MySql.Tests (2)
tests\Shared\ContainerReplCommandTestBase.cs (2)
88
Arguments
= new InteractionInputCollection([]),
111
Arguments
= new InteractionInputCollection([]),
Aspire.Hosting.PostgreSQL.Tests (2)
tests\Shared\ContainerReplCommandTestBase.cs (2)
88
Arguments
= new InteractionInputCollection([]),
111
Arguments
= new InteractionInputCollection([]),
Aspire.Hosting.Redis.Tests (2)
tests\Shared\ContainerReplCommandTestBase.cs (2)
88
Arguments
= new InteractionInputCollection([]),
111
Arguments
= new InteractionInputCollection([]),
Aspire.Hosting.SqlServer.Tests (2)
tests\Shared\ContainerReplCommandTestBase.cs (2)
88
Arguments
= new InteractionInputCollection([]),
111
Arguments
= new InteractionInputCollection([]),
Aspire.Hosting.Tests (1)
ResourceCommandAnnotationTests.cs (1)
203
Arguments
= new InteractionInputCollection([]),
Aspire.Hosting.TestUtilities (1)
Utils\TerminalCommandTestHelpers.cs (1)
27
Arguments
= new InteractionInputCollection([]),
Aspire.Hosting.Valkey.Tests (2)
tests\Shared\ContainerReplCommandTestBase.cs (2)
88
Arguments
= new InteractionInputCollection([]),
111
Arguments
= new InteractionInputCollection([]),
54 references to Arguments
Aspire.Hosting (8)
ApplicationModel\ResourceCommandService.cs (1)
446
Arguments = context.
Arguments
Orchestrator\ParameterProcessor.cs (2)
374
executeCommand: context => SetParameterCoreAsync(parameterResource, context.
Arguments
, context.CancellationToken),
410
executeCommand: context => DeleteParameterCoreAsync(parameterResource, context.
Arguments
, context.CancellationToken),
ResourceBuilderExtensions.cs (5)
3462
/// Use <see cref="ExecuteCommandContext.
Arguments
"/> to read values supplied by the command caller.
3521
/// Use <see cref="ExecuteCommandContext.
Arguments
"/> to read values supplied by the command caller.
3842
Arguments = context.
Arguments
,
4105
Arguments = context.
Arguments
,
4123
Arguments = context.
Arguments
,
Aspire.Hosting.Azure (2)
AzureProvisioningController.cs (2)
774
() => ChangeAzureContextCommandAsync(model, context.
Arguments
, context.CancellationToken),
817
() => ChangeResourceLocationCommandAsync(model, resourceName, context.
Arguments
, context.CancellationToken),
Aspire.Hosting.Browsers (1)
BrowserLogsBuilderExtensions.cs (1)
206
return await configurationManager.ConfigureAsync(browserLogsResource, context.
Arguments
, context.CancellationToken).ConfigureAwait(false);
Aspire.Hosting.Browsers.Tests (1)
src\Aspire.Hosting.Browsers\BrowserLogsBuilderExtensions.cs (1)
206
return await configurationManager.ConfigureAsync(browserLogsResource, context.
Arguments
, context.CancellationToken).ConfigureAwait(false);
Aspire.Hosting.EntityFrameworkCore (1)
EFResourceBuilderExtensions.cs (1)
1000
var migrationName = context.
Arguments
.GetString("name")!;
Aspire.Hosting.Foundry (1)
PromptAgent\PromptAgentBuilderExtensions.cs (1)
82
var message = ctx.
Arguments
.GetString("message")!;
Aspire.Hosting.Tests (20)
Backchannel\AuxiliaryBackchannelRpcTargetTests.cs (3)
2258
capturedArguments = context.
Arguments
;
2374
capturedArguments = context.
Arguments
;
2505
capturedArguments = context.
Arguments
;
Dashboard\DashboardServiceTests.cs (1)
294
capturedArguments = c.
Arguments
;
ResourceCommandServiceTests.cs (9)
521
capturedArguments = e.
Arguments
;
579
capturedArguments = e.
Arguments
;
620
capturedArguments = e.
Arguments
;
660
capturedArguments = e.
Arguments
;
919
capturedArguments = e.
Arguments
;
1152
capturedArguments = context.
Arguments
;
1272
capturedArguments = e.
Arguments
;
1349
capturedArguments = context.
Arguments
;
1431
capturedArguments = context.
Arguments
;
WithProcessCommandTests.cs (7)
156
var message = context.
Arguments
.GetString("message") ?? string.Empty;
195
Assert.Equal("hello-from-options-callback", capturedContext.
Arguments
.GetString("message"));
217
var message = context.
Arguments
.GetString("message") ?? string.Empty;
277
Assert.Equal("hello-from-factory", capturedContext.
Arguments
.GetString("message"));
356
var message = context.
Arguments
.GetString("message");
392
Assert.Equal("hello-from-argument", capturedContext.
Arguments
.GetString("message"));
413
var message = context.
Arguments
.GetString("message");
Stress.AppHost (20)
CommandResources.cs (20)
123
var arguments = c.
Arguments
;
173
var arguments = ReadEchoCommandArguments(c.
Arguments
);
258
var arguments = ReadValidateCommandArguments(c.
Arguments
);
344
var arguments = c.
Arguments
;
371
var arguments = c.
Arguments
;
530
var command = context.
Arguments
.GetString("command") switch
568
standardInputContent: context.
Arguments
.GetString("input") ?? "Hello from stdin"),
641
arguments: [context.
Arguments
.GetString("name") ?? "Aspire"],
642
standardInputContent: context.
Arguments
.GetString("input") ?? "Hello from C#"),
690
context.
Arguments
.GetString("dataset") ?? "small",
691
context.
Arguments
.GetString("customers") ?? "25"
737
context.
Arguments
.GetString("filter") ?? "smoke"
775
context.
Arguments
.GetString("job") ?? "daily-import"
777
standardInputContent: context.
Arguments
.GetString("payload") ?? "local-trigger"),
812
context.
Arguments
.GetString("backupPath") ?? processCommandSampleBackupPath,
813
context.
Arguments
.GetString("container") ?? "db-server",
814
context.
Arguments
.GetString("database") ?? "mainDb"
859
GetRequiredCommandArgument(context.
Arguments
, "container"),
860
GetRequiredCommandArgument(context.
Arguments
, "execCommand"),
861
GetRequiredCommandArgument(context.
Arguments
, "workingDirectory")