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