15 instantiations of InstallCommandArgs
Microsoft.TemplateEngine.Cli (1)
Commands\install\BaseInstallCommand.cs (1)
52return new InstallCommandArgs(this, parseResult);
Microsoft.TemplateEngine.Cli.UnitTests (14)
ParserTests\InstallTests.cs (13)
21InstallCommandArgs args = new((InstallCommand)parseResult.CommandResult.Command, parseResult); 41Assert.Throws<ArgumentException>(() => new InstallCommandArgs((InstallCommand)parseResult.CommandResult.Command, parseResult)); 55Assert.Throws<ArgumentException>(() => new InstallCommandArgs((LegacyInstallCommand)parseResult.CommandResult.Command, parseResult)); 66InstallCommandArgs args = new((InstallCommand)parseResult.CommandResult.Command, parseResult); 83InstallCommandArgs args = new((InstallCommand)parseResult.CommandResult.Command, parseResult); 90args = new InstallCommandArgs((InstallCommand)parseResult.CommandResult.Command, parseResult); 104InstallCommandArgs args = new((InstallCommand)parseResult.CommandResult.Command, parseResult); 111args = new InstallCommandArgs((InstallCommand)parseResult.CommandResult.Command, parseResult); 125InstallCommandArgs args = new((InstallCommand)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);
ParserTests\MiscTests.cs (1)
110InstallCommandArgs args = new((InstallCommand)parseResult.CommandResult.Command, parseResult);
17 references to InstallCommandArgs
Microsoft.TemplateEngine.Cli (7)
Commands\install\BaseInstallCommand.cs (3)
10internal abstract class BaseInstallCommand : BaseCommand<InstallCommandArgs> 40InstallCommandArgs args, 50protected override InstallCommandArgs ParseContext(ParseResult parseResult)
Commands\install\InstallCommand.cs (1)
21InstallCommandArgs args,
Commands\install\LegacyInstallCommand.cs (1)
25protected override Task<NewCommandStatus> ExecuteAsync(InstallCommandArgs args, IEngineEnvironmentSettings environmentSettings, TemplatePackageManager templatePackageManager, ParseResult parseResult, CancellationToken cancellationToken)
TemplatePackageCoordinator.cs (2)
181internal async Task<NewCommandStatus> EnterInstallFlowAsync(InstallCommandArgs args, CancellationToken cancellationToken) 608private async Task<bool> ValidateInstallationRequestsAsync(InstallCommandArgs args, List<InstallRequest> installRequests, CancellationToken cancellationToken)
Microsoft.TemplateEngine.Cli.UnitTests (10)
ParserTests\InstallTests.cs (9)
21InstallCommandArgs args = new((InstallCommand)parseResult.CommandResult.Command, parseResult); 66InstallCommandArgs args = new((InstallCommand)parseResult.CommandResult.Command, parseResult); 83InstallCommandArgs args = new((InstallCommand)parseResult.CommandResult.Command, parseResult); 104InstallCommandArgs args = new((InstallCommand)parseResult.CommandResult.Command, parseResult); 125InstallCommandArgs args = new((InstallCommand)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);
ParserTests\MiscTests.cs (1)
110InstallCommandArgs args = new((InstallCommand)parseResult.CommandResult.Command, parseResult);