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