2 instantiations of NewInstallCommandDefinition
Microsoft.DotNet.Cli.Definitions (2)
Commands\New\NewCommandDefinition.cs (2)
141InstallCommand = new(this, isLegacy: false); 148LegacyInstallCommand = new(this, isLegacy: true);
10 references to NewInstallCommandDefinition
Microsoft.DotNet.Cli.Definitions (2)
Commands\New\NewCommandDefinition.cs (2)
101public readonly NewInstallCommandDefinition InstallCommand; 108public readonly NewInstallCommandDefinition LegacyInstallCommand;
Microsoft.TemplateEngine.Cli (8)
Commands\BaseCommand.cs (4)
38{ NewInstallCommandDefinition.Name, (hostBuilder, definition) => new InstallCommand(hostBuilder, (NewInstallCommandDefinition)definition) }, 39{ NewInstallCommandDefinition.LegacyName, (hostBuilder, definition) => new LegacyInstallCommand(hostBuilder, (NewInstallCommandDefinition)definition) },
Commands\install\BaseInstallCommand.cs (2)
11internal abstract class BaseInstallCommand(Func<ParseResult, ITemplateEngineHost> hostBuilder, NewInstallCommandDefinition definition) 12: BaseCommand<InstallCommandArgs, NewInstallCommandDefinition>(hostBuilder, definition)
Commands\install\InstallCommand.cs (1)
11internal sealed class InstallCommand(Func<ParseResult, ITemplateEngineHost> hostBuilder, NewInstallCommandDefinition definition)
Commands\install\LegacyInstallCommand.cs (1)
11internal sealed class LegacyInstallCommand(Func<ParseResult, ITemplateEngineHost> hostBuilder, NewInstallCommandDefinition definition)