1 instantiation of LegacyInstallCommand
Microsoft.TemplateEngine.Cli (1)
Commands\NewCommand.Legacy.cs (1)
157
Add(new
LegacyInstallCommand
(this, hostBuilder));
7 references to LegacyInstallCommand
Microsoft.TemplateEngine.Cli (2)
Commands\install\InstallCommandArgs.cs (1)
21
if (installCommand is
LegacyInstallCommand
&& (TemplatePackages.Contains(installCommand.Name) || installCommand.Aliases.Any(alias => TemplatePackages.Contains(alias))))
Commands\install\LegacyInstallCommand.cs (1)
27
PrintDeprecationMessage<
LegacyInstallCommand
, InstallCommand>(args.ParseResult);
Microsoft.TemplateEngine.Cli.UnitTests (5)
ParserTests\InstallTests.cs (5)
55
Assert.Throws<ArgumentException>(() => new InstallCommandArgs((
LegacyInstallCommand
)parseResult.CommandResult.Command, parseResult));
142
InstallCommandArgs args = new((
LegacyInstallCommand
)parseResult.CommandResult.Command, parseResult);
160
InstallCommandArgs args = new((
LegacyInstallCommand
)parseResult.CommandResult.Command, parseResult);
176
InstallCommandArgs args = new((
LegacyInstallCommand
)parseResult.CommandResult.Command, parseResult);
192
InstallCommandArgs args = new((
LegacyInstallCommand
)parseResult.CommandResult.Command, parseResult);