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([])
1097
Arguments
= CreateArguments((AzureBicepResource.KnownParameters.Location, "West US 3"))
1178
Arguments
= new InteractionInputCollection([])
1262
Arguments
= new InteractionInputCollection([])
1531
Arguments
= new InteractionInputCollection([])
1595
Arguments
= new InteractionInputCollection([])
1656
Arguments
= new InteractionInputCollection([])
1717
Arguments
= new InteractionInputCollection([])
1852
Arguments
= new InteractionInputCollection([])
1910
Arguments
= new InteractionInputCollection([])
1961
Arguments
= new InteractionInputCollection([])
1973
Arguments
= new InteractionInputCollection([])
2057
Arguments
= new InteractionInputCollection([])
2141
Arguments
= new InteractionInputCollection([])
2235
Arguments
= new InteractionInputCollection([])
2306
Arguments
= new InteractionInputCollection([])
2384
Arguments
= new InteractionInputCollection([])
2398
Arguments
= new InteractionInputCollection([])
2463
Arguments
= new InteractionInputCollection([])
2527
Arguments
= new InteractionInputCollection([])
2581
Arguments
= new InteractionInputCollection([])
2641
Arguments
= new InteractionInputCollection([])
2718
Arguments
= new InteractionInputCollection([])
2732
Arguments
= new InteractionInputCollection([])
2795
Arguments
= new InteractionInputCollection([])
2812
Arguments
= new InteractionInputCollection([])
2893
Arguments
= new InteractionInputCollection([])
2939
Arguments
= new InteractionInputCollection([])
2992
Arguments
= new InteractionInputCollection([])
3006
Arguments
= new InteractionInputCollection([])
3059
Arguments
= CreateArguments(("location", "westus2"))
3132
Arguments
= new InteractionInputCollection([])
3185
Arguments
= CreateArguments((AzureBicepResource.KnownParameters.Location, "West US 3"))
3245
Arguments
= CreateArguments((AzureBicepResource.KnownParameters.Location, "West US 3"))
3306
Arguments
= new InteractionInputCollection([])
3376
Arguments
= CreateArguments((AzureBicepResource.KnownParameters.Location, "westus3"))
3437
Arguments
= new InteractionInputCollection([])
3506
Arguments
= CreateArguments(
3563
Arguments
= new InteractionInputCollection([])
3626
Arguments
= new InteractionInputCollection([])
3697
Arguments
= CreateArguments((AzureBicepResource.KnownParameters.Location, "westus3"))
3752
Arguments
= new InteractionInputCollection([])
3792
Arguments
= CreateArguments(
3866
Arguments
= CreateArguments(
3914
Arguments
= CreateArguments(
3970
Arguments
= CreateArguments(
4117
Arguments
= new InteractionInputCollection([])
4196
Arguments
= new InteractionInputCollection([])
4268
Arguments
= new InteractionInputCollection([])
4348
Arguments
= new InteractionInputCollection([])
4422
Arguments
= new InteractionInputCollection([])
4474
Arguments
= new InteractionInputCollection([])
4520
Arguments
= includeLocationArgument
4566
Arguments
= new InteractionInputCollection([])
4634
Arguments
= new InteractionInputCollection([])
4873
Arguments
= new InteractionInputCollection([])
4925
Arguments
= new InteractionInputCollection([])
4972
Arguments
= new InteractionInputCollection([])
5020
Arguments
= new InteractionInputCollection([])
5158
Arguments
= new InteractionInputCollection([])
Aspire.Hosting.Blazor.Tests (2)
BlazorHostedExtensionsTests.cs (1)
309
Arguments
= new InteractionInputCollection([])
WithBlazorAppTests.cs (1)
327
Arguments
= new InteractionInputCollection([])
Aspire.Hosting.DevTunnels.Tests (3)
DevTunnelResourceBuilderExtensionsTests.cs (3)
612
Arguments
= new InteractionInputCollection([]),
666
Arguments
= new InteractionInputCollection([]),
716
Arguments
= new InteractionInputCollection([]),
Aspire.Hosting.Foundry.Tests (1)
PromptAgentTests.cs (1)
193
Arguments
= new InteractionInputCollection(
Aspire.Hosting.Maui.Tests (1)
MauiBuildQueueTests.cs (1)
1179
Arguments
= new InteractionInputCollection([])
Aspire.Hosting.MongoDB.Tests (2)
tests\Shared\ContainerReplCommandTestBase.cs (2)
89
Arguments
= new InteractionInputCollection([]),
112
Arguments
= new InteractionInputCollection([]),
Aspire.Hosting.MySql.Tests (2)
tests\Shared\ContainerReplCommandTestBase.cs (2)
89
Arguments
= new InteractionInputCollection([]),
112
Arguments
= new InteractionInputCollection([]),
Aspire.Hosting.PostgreSQL.Tests (2)
tests\Shared\ContainerReplCommandTestBase.cs (2)
89
Arguments
= new InteractionInputCollection([]),
112
Arguments
= new InteractionInputCollection([]),
Aspire.Hosting.Redis.Tests (2)
tests\Shared\ContainerReplCommandTestBase.cs (2)
89
Arguments
= new InteractionInputCollection([]),
112
Arguments
= new InteractionInputCollection([]),
Aspire.Hosting.SqlServer.Tests (2)
tests\Shared\ContainerReplCommandTestBase.cs (2)
89
Arguments
= new InteractionInputCollection([]),
112
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)
89
Arguments
= new InteractionInputCollection([]),
112
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)
3482
/// Use <see cref="ExecuteCommandContext.
Arguments
"/> to read values supplied by the command caller.
3541
/// Use <see cref="ExecuteCommandContext.
Arguments
"/> to read values supplied by the command caller.
3862
Arguments = context.
Arguments
,
4125
Arguments = context.
Arguments
,
4143
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)
995
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)
2305
capturedArguments = context.
Arguments
;
2421
capturedArguments = context.
Arguments
;
2552
capturedArguments = context.
Arguments
;
Dashboard\DashboardServiceTests.cs (1)
294
capturedArguments = c.
Arguments
;
ResourceCommandServiceTests.cs (9)
522
capturedArguments = e.
Arguments
;
580
capturedArguments = e.
Arguments
;
621
capturedArguments = e.
Arguments
;
661
capturedArguments = e.
Arguments
;
920
capturedArguments = e.
Arguments
;
1153
capturedArguments = context.
Arguments
;
1273
capturedArguments = e.
Arguments
;
1351
capturedArguments = context.
Arguments
;
1433
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)
124
var arguments = c.
Arguments
;
174
var arguments = ReadEchoCommandArguments(c.
Arguments
);
259
var arguments = ReadValidateCommandArguments(c.
Arguments
);
345
var arguments = c.
Arguments
;
372
var arguments = c.
Arguments
;
531
var command = context.
Arguments
.GetString("command") switch
569
standardInputContent: context.
Arguments
.GetString("input") ?? "Hello from stdin"),
642
arguments: [context.
Arguments
.GetString("name") ?? "Aspire"],
643
standardInputContent: context.
Arguments
.GetString("input") ?? "Hello from C#"),
691
context.
Arguments
.GetString("dataset") ?? "small",
692
context.
Arguments
.GetString("customers") ?? "25"
738
context.
Arguments
.GetString("filter") ?? "smoke"
776
context.
Arguments
.GetString("job") ?? "daily-import"
778
standardInputContent: context.
Arguments
.GetString("payload") ?? "local-trigger"),
813
context.
Arguments
.GetString("backupPath") ?? processCommandSampleBackupPath,
814
context.
Arguments
.GetString("container") ?? "db-server",
815
context.
Arguments
.GetString("database") ?? "mainDb"
860
GetRequiredCommandArgument(context.
Arguments
, "container"),
861
GetRequiredCommandArgument(context.
Arguments
, "execCommand"),
862
GetRequiredCommandArgument(context.
Arguments
, "workingDirectory")