20 references to GetValue
aspire (14)
Commands\BaseCommand.cs (2)
356
var nonInteractive = result.
GetValue
(RootCommand.NonInteractiveOption);
357
var yes = result.
GetValue
(yesOption);
Commands\DescribeCommand.cs (3)
130
var appHostPid = result.
GetValue
(s_appHostPidOption);
136
result.
GetValue
(s_appHostOption.InnerOption) is null &&
137
result.
GetValue
(s_appHostOption.LegacyOption) is null)
Commands\DestroyCommand.cs (1)
31
if (result.GetResult(s_listStepsFormatOption) is not null && !result.
GetValue
(s_listStepsOption))
Commands\DoCommand.cs (1)
37
var listSteps = result.
GetValue
(s_listStepsOption);
Commands\LsCommand.cs (2)
64
if (result.
GetValue
(s_streamOption) && result.
GetValue
(s_formatOption) != OutputFormat.Json)
Commands\SecretSetCommand.cs (2)
61
else if (!hasValue && !hasEnvvarSource && result.
GetValue
(RootCommand.NonInteractiveOption))
66
&& string.IsNullOrWhiteSpace(result.
GetValue
(s_envvarSourceOption)))
Commands\UpdateCommand.cs (3)
135
if (result.
GetValue
(s_configSourceOption) &&
136
(result.
GetValue
(s_selfOption) || result.
GetValue
(s_migrateOption)
dotnet-format (4)
Commands\FormatWhitespaceCommand.cs (4)
32
var folder = symbolResult.
GetValue
(FolderOption);
33
var noRestore = symbolResult.
GetValue
(NoRestoreOption);
42
var folder = symbolResult.
GetValue
(FolderOption);
52
var folder = symbolResult.
GetValue
(FolderOption);
Microsoft.DotNet.Cli.CommandLine (1)
ResultNavigationExtensions.cs (1)
30
return optionResult.
GetValue
(optionToGet);
System.CommandLine (1)
ParseResult.cs (1)
133
=> RootCommandResult.
GetValue
(option);