9 writes to Value
Aspire.Cli.Tests (9)
Backchannel\ResourceSnapshotMapperTests.cs (2)
258
Value
= "super-secret"
264
Value
= "Development"
Commands\ResourceCommandTests.cs (1)
2418
Value
= value,
Mcp\ListResourcesToolTests.cs (6)
525
Value
= "private-default-configuration",
533
Value
= "secret-password",
543
Value
= "private-current-environment",
550
new ResourceSnapshotCommandArgument { Name = "force", InputType = "Boolean",
Value
= "true" },
551
new ResourceSnapshotCommandArgument { Name = "attempts", InputType = "Number",
Value
= "5", Disabled = true }
957
Value
= "command-secret"
7 references to Value
aspire (7)
Backchannel\ResourceSnapshotMapper.cs (1)
271
Value = IsSecretCommandArgument(input) ? null : input.
Value
,
Commands\ResourceCommand.cs (6)
397
DefaultValueFactory = _ => bool.TryParse(argument.
Value
, out var value) && value
403
DefaultValueFactory = _ => double.TryParse(argument.
Value
, CultureInfo.InvariantCulture, out var value) ? value : null
409
DefaultValueFactory = _ => argument.
Value
462
string.IsNullOrEmpty(argument.
Value
);
874
if (argument.Required && string.IsNullOrEmpty(argument.
Value
))
884
if (argument.
Value
is { Length: > 0 } value)