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