2 instantiations of NewInstallCommandDefinition
Microsoft.DotNet.Cli.Definitions (2)
Commands\New\NewCommandDefinition.cs (2)
141
InstallCommand =
new
(this, isLegacy: false);
148
LegacyInstallCommand =
new
(this, isLegacy: true);
10 references to NewInstallCommandDefinition
Microsoft.DotNet.Cli.Definitions (2)
Commands\New\NewCommandDefinition.cs (2)
101
public readonly
NewInstallCommandDefinition
InstallCommand;
108
public 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)
11
internal abstract class BaseInstallCommand(Func<ParseResult, ITemplateEngineHost> hostBuilder,
NewInstallCommandDefinition
definition)
12
: BaseCommand<InstallCommandArgs,
NewInstallCommandDefinition
>(hostBuilder, definition)
Commands\install\InstallCommand.cs (1)
11
internal sealed class InstallCommand(Func<ParseResult, ITemplateEngineHost> hostBuilder,
NewInstallCommandDefinition
definition)
Commands\install\LegacyInstallCommand.cs (1)
11
internal sealed class LegacyInstallCommand(Func<ParseResult, ITemplateEngineHost> hostBuilder,
NewInstallCommandDefinition
definition)