70 writes to Arguments
Aspire.Hosting (2)
ApplicationModel\ResourceCommandService.cs (2)
372
Arguments
= arguments
446
Arguments
= context.Arguments
Aspire.Hosting.Azure.Tests (61)
AzureEnvironmentResourceExtensionsTests.cs (61)
362
Arguments
= new InteractionInputCollection([])
416
Arguments
= new InteractionInputCollection([])
754
Arguments
= CreateArguments((AzureBicepResource.KnownParameters.Location, "West US 3"))
835
Arguments
= new InteractionInputCollection([])
919
Arguments
= new InteractionInputCollection([])
1188
Arguments
= new InteractionInputCollection([])
1252
Arguments
= new InteractionInputCollection([])
1313
Arguments
= new InteractionInputCollection([])
1374
Arguments
= new InteractionInputCollection([])
1509
Arguments
= new InteractionInputCollection([])
1567
Arguments
= new InteractionInputCollection([])
1618
Arguments
= new InteractionInputCollection([])
1630
Arguments
= new InteractionInputCollection([])
1714
Arguments
= new InteractionInputCollection([])
1798
Arguments
= new InteractionInputCollection([])
1892
Arguments
= new InteractionInputCollection([])
1963
Arguments
= new InteractionInputCollection([])
2041
Arguments
= new InteractionInputCollection([])
2055
Arguments
= new InteractionInputCollection([])
2120
Arguments
= new InteractionInputCollection([])
2184
Arguments
= new InteractionInputCollection([])
2238
Arguments
= new InteractionInputCollection([])
2298
Arguments
= new InteractionInputCollection([])
2375
Arguments
= new InteractionInputCollection([])
2389
Arguments
= new InteractionInputCollection([])
2452
Arguments
= new InteractionInputCollection([])
2469
Arguments
= new InteractionInputCollection([])
2550
Arguments
= new InteractionInputCollection([])
2596
Arguments
= new InteractionInputCollection([])
2649
Arguments
= new InteractionInputCollection([])
2663
Arguments
= new InteractionInputCollection([])
2716
Arguments
= CreateArguments(("location", "westus2"))
2789
Arguments
= new InteractionInputCollection([])
2842
Arguments
= CreateArguments((AzureBicepResource.KnownParameters.Location, "West US 3"))
2902
Arguments
= CreateArguments((AzureBicepResource.KnownParameters.Location, "West US 3"))
2963
Arguments
= new InteractionInputCollection([])
3033
Arguments
= CreateArguments((AzureBicepResource.KnownParameters.Location, "westus3"))
3094
Arguments
= new InteractionInputCollection([])
3163
Arguments
= CreateArguments(
3220
Arguments
= new InteractionInputCollection([])
3283
Arguments
= new InteractionInputCollection([])
3354
Arguments
= CreateArguments((AzureBicepResource.KnownParameters.Location, "westus3"))
3409
Arguments
= new InteractionInputCollection([])
3449
Arguments
= CreateArguments(
3523
Arguments
= CreateArguments(
3571
Arguments
= CreateArguments(
3627
Arguments
= CreateArguments(
3774
Arguments
= new InteractionInputCollection([])
3853
Arguments
= new InteractionInputCollection([])
3925
Arguments
= new InteractionInputCollection([])
4005
Arguments
= new InteractionInputCollection([])
4079
Arguments
= new InteractionInputCollection([])
4131
Arguments
= new InteractionInputCollection([])
4177
Arguments
= includeLocationArgument
4223
Arguments
= new InteractionInputCollection([])
4291
Arguments
= new InteractionInputCollection([])
4530
Arguments
= new InteractionInputCollection([])
4582
Arguments
= new InteractionInputCollection([])
4629
Arguments
= new InteractionInputCollection([])
4677
Arguments
= new InteractionInputCollection([])
4815
Arguments
= new InteractionInputCollection([])
Aspire.Hosting.Blazor.Tests (2)
BlazorHostedExtensionsTests.cs (1)
253
Arguments
= new InteractionInputCollection([])
WithBlazorAppTests.cs (1)
326
Arguments
= new InteractionInputCollection([])
Aspire.Hosting.DevTunnels.Tests (3)
DevTunnelResourceBuilderExtensionsTests.cs (3)
471
Arguments
= new InteractionInputCollection([]),
523
Arguments
= new InteractionInputCollection([]),
571
Arguments
= new InteractionInputCollection([]),
Aspire.Hosting.Foundry.Tests (1)
PromptAgentTests.cs (1)
105
Arguments
= new InteractionInputCollection(
Aspire.Hosting.Maui.Tests (1)
MauiBuildQueueTests.cs (1)
782
Arguments
= new InteractionInputCollection([])
53 references to Arguments
Aspire.Hosting (8)
ApplicationModel\ResourceCommandService.cs (1)
446
Arguments = context.
Arguments
Orchestrator\ParameterProcessor.cs (2)
267
executeCommand: context => SetParameterCoreAsync(parameterResource, context.
Arguments
, context.CancellationToken),
303
executeCommand: context => DeleteParameterCoreAsync(parameterResource, context.
Arguments
, context.CancellationToken),
ResourceBuilderExtensions.cs (5)
3091
/// Use <see cref="ExecuteCommandContext.
Arguments
"/> to read values supplied by the command caller.
3150
/// Use <see cref="ExecuteCommandContext.
Arguments
"/> to read values supplied by the command caller.
3471
Arguments = context.
Arguments
,
3734
Arguments = context.
Arguments
,
3752
Arguments = context.
Arguments
,
Aspire.Hosting.Azure (2)
AzureProvisioningController.cs (2)
751
() => ChangeAzureContextCommandAsync(model, context.
Arguments
, context.CancellationToken),
790
() => 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)
916
var migrationName = context.
Arguments
.GetString("name")!;
Aspire.Hosting.Foundry (1)
PromptAgent\PromptAgentBuilderExtensions.cs (1)
82
var message = ctx.
Arguments
.GetString("message")!;
Aspire.Hosting.Tests (19)
Backchannel\AuxiliaryBackchannelRpcTargetTests.cs (3)
2258
capturedArguments = context.
Arguments
;
2374
capturedArguments = context.
Arguments
;
2505
capturedArguments = context.
Arguments
;
Dashboard\DashboardServiceTests.cs (1)
289
capturedArguments = c.
Arguments
;
ResourceCommandServiceTests.cs (8)
520
capturedArguments = e.
Arguments
;
578
capturedArguments = e.
Arguments
;
619
capturedArguments = e.
Arguments
;
659
capturedArguments = e.
Arguments
;
918
capturedArguments = e.
Arguments
;
1151
capturedArguments = context.
Arguments
;
1271
capturedArguments = e.
Arguments
;
1328
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")