7 references to GetValue
aspire (1)
Commands\ConfigCommand.cs (1)
467
var useJson = parseResult.
GetValue
<bool>("--json");
Aspire.Cli.Tests (5)
Commands\AgentInitClientSelectionTests.cs (2)
216
Assert.Equal(Enum.Parse<AgentConfigurationScope>(expected), result.
GetValue
<AgentConfigurationScope>("--scope"));
252
Assert.Equal(selection, result.
GetValue
<string?>("--agents"));
Commands\AgentInitCommandTests.cs (1)
201
Assert.Equal(expected, result.
GetValue
<bool?>("--mcp"));
Commands\TerminalCommandViewerOptionTests.cs (2)
57
var viewerValue = result.
GetValue
<bool>("--viewer");
72
var viewerValue = result.
GetValue
<bool>("--viewer");
Microsoft.DotNet.Cli.Utils (1)
MSBuildArgs.cs (1)
139
return options.Any(o => o.Name == name) ? parseResult.
GetValue
<T>(name) : default;