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