1 write to LegacyOption
aspire (1)
Commands\OptionWithLegacy.cs (1)
24LegacyOption = new(legacyName) { Hidden = true };
7 references to LegacyOption
aspire (6)
Commands\OptionWithLegacy.cs (2)
55options.Add(optionWithLegacy.LegacyOption); 63=> parseResult.GetValue(optionWithLegacy.InnerOption) ?? parseResult.GetValue(optionWithLegacy.LegacyOption);
Commands\ResourceCommand.cs (1)
735var 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)
226AppHostLauncher.s_appHostOption.LegacyOption,
Commands\StartCommand.cs (1)
83AppHostLauncher.s_appHostOption.LegacyOption,
Aspire.Cli.Tests (1)
Commands\ParseResultHelperTests.cs (1)
328AppHostLauncher.s_appHostOption.LegacyOption);