9 references to GetResult
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