17 references to GetResult
aspire (8)
Commands\DestroyCommand.cs (1)
31
if (result.
GetResult
(s_listStepsFormatOption) is not null && !result.GetValue(s_listStepsOption))
Commands\PsCommand.cs (1)
123
if (result.
GetResult
(s_outputOption) is { } outputResult
Commands\ResourceCommand.cs (1)
298
.Where(argument => ShouldValidateRequiredOption(argument, parseMode) && result.
GetResult
(options[argument]) is not { Implicit: false })
Commands\SecretSetCommand.cs (2)
56
var hasEnvvarSource = result.
GetResult
(s_envvarSourceOption) is { Implicit: false };
65
else if (hasEnvvarSource && result.
GetResult
(s_envvarSourceOption)?.Tokens.Count > 0
Commands\UpdateCommand.cs (3)
137
|| result.
GetResult
(_channelOption) is not null || result.
GetResult
(_qualityOption) is not null
138
|| result.
GetResult
(s_nugetConfigDirOption) is not null))
dotnet-format (2)
Commands\FormatWhitespaceCommand.cs (2)
43
var binarylog = symbolResult.
GetResult
(BinarylogOption);
53
var framework = symbolResult.
GetResult
(FrameworkOption);
dotnet-sourcelink (3)
Program.cs (3)
149
if (commandResult.
GetResult
(authArg) != null)
151
if (commandResult.
GetResult
(userArg) == null || commandResult.
GetResult
(passwordArg) == null)
Microsoft.DotNet.Cli.CommandLine (1)
ResultNavigationExtensions.cs (1)
89
public static bool HasOption(this SymbolResult symbolResult, Option option) => symbolResult.
GetResult
(option) is OptionResult or && !or.Implicit;
System.CommandLine (3)
ParseResult.cs (1)
200
_rootCommandResult.
GetResult
(option);
Parsing\SymbolResult.cs (2)
119
if (
GetResult
(option) is { } result &&
138
=>
GetResult
(option) switch