1 write to LegacyOption
aspire (1)
Commands\OptionWithLegacy.cs (1)
24
LegacyOption
= new(legacyName) { Hidden = true };
9 references to LegacyOption
aspire (8)
Commands\AgentMcpCommand.cs (1)
107
string.Equals(token.Value, s_appHostOption.
LegacyOption
.Name, StringComparison.Ordinal));
Commands\DescribeCommand.cs (1)
137
result.GetValue(s_appHostOption.
LegacyOption
) is null)
Commands\OptionWithLegacy.cs (2)
55
options.Add(optionWithLegacy.
LegacyOption
);
63
=> parseResult.GetValue(optionWithLegacy.InnerOption) ?? parseResult.GetValue(optionWithLegacy.
LegacyOption
);
Commands\ResourceCommand.cs (1)
736
var appHostOptionValue = GetOptionTokenValue(parseResult, s_appHostOption.InnerOption) ?? GetOptionTokenValue(parseResult, s_appHostOption.
LegacyOption
);
Commands\ResourceCommandHelpParser.cs (1)
28
var appHostOptionValue = GetOptionTokenValue(parseResult, appHostOption.InnerOption) ?? GetOptionTokenValue(parseResult, appHostOption.
LegacyOption
);
Commands\RunCommand.cs (1)
232
AppHostLauncher.s_appHostOption.
LegacyOption
,
Commands\StartCommand.cs (1)
83
AppHostLauncher.s_appHostOption.
LegacyOption
,
Aspire.Cli.Tests (1)
Commands\ParseResultHelperTests.cs (1)
403
AppHostLauncher.s_appHostOption.
LegacyOption
);