5 references to GetValue
aspire (1)
Commands\ConfigCommand.cs (1)
454
var useJson = parseResult.
GetValue
<bool>("--json");
Aspire.Cli.Tests (3)
Commands\AgentInitClientSelectionTests.cs (1)
288
Assert.Equal(Enum.Parse<AgentConfigurationScope>(expected), result.
GetValue
<AgentConfigurationScope>("--scope"));
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;