11 instantiations of TemplateCommandArgs
Microsoft.TemplateEngine.Cli (1)
Commands\create\TemplateCommand.cs (1)
150TemplateCommandArgs args = new(this, _instantiateCommand, parseResult);
Microsoft.TemplateEngine.Cli.UnitTests (10)
ParserTests\InstantiateTests.cs (7)
260var templateArgs = new TemplateCommandArgs(templateCommand, myCommand, templateParseResult); 326var templateArgs = new TemplateCommandArgs(templateCommand, myCommand, templateParseResult); 369var templateArgs = new TemplateCommandArgs(templateCommand, myCommand, templateParseResult); 413var templateArgs = new TemplateCommandArgs(templateCommand, myCommand, templateParseResult); 554TemplateCommandArgs templateArgs = new(templateCommand, myCommand, templateParseResult); 587TemplateCommandArgs templateArgs = new(templateCommand, myCommand, templateParseResult); 750var templateArgs = new TemplateCommandArgs(templateCommand, myCommand, templateParseResult);
ParserTests\InstantiateTests.Subcommand.cs (3)
88var templateArgs = new TemplateCommandArgs(templateCommand, instantiateCommand, templateParseResult); 151var templateArgs = new TemplateCommandArgs(templateCommand, instantiateCommand, templateParseResult); 186var templateArgs = new TemplateCommandArgs(templateCommand, instantiateCommand, templateParseResult);
20 references to TemplateCommandArgs
Microsoft.TemplateEngine.Cli (6)
Commands\create\TemplateCommand.cs (2)
150TemplateCommandArgs args = new(this, _instantiateCommand, parseResult); 221private void DisplayConstraintResults(IReadOnlyList<TemplateConstraintResult> constraintResults, TemplateCommandArgs templateArgs)
TemplateInvoker.cs (3)
38internal async Task<NewCommandStatus> InvokeTemplateAsync(TemplateCommandArgs templateArgs, CancellationToken cancellationToken) 128private async Task<NewCommandStatus> CreateTemplateAsync(TemplateCommandArgs templateArgs, CancellationToken cancellationToken) 309private NewCommandStatus HandlePostActions(ITemplateCreationResult creationResult, TemplateCommandArgs args)
TemplatePackageCoordinator.cs (1)
56internal async Task<CheckUpdateResult?> CheckUpdateForTemplate(TemplateCommandArgs args, CancellationToken cancellationToken = default)
Microsoft.TemplateEngine.Cli.UnitTests (14)
ParserTests\InstantiateTests.cs (11)
260var templateArgs = new TemplateCommandArgs(templateCommand, myCommand, templateParseResult); 326var templateArgs = new TemplateCommandArgs(templateCommand, myCommand, templateParseResult); 369var templateArgs = new TemplateCommandArgs(templateCommand, myCommand, templateParseResult); 413var templateArgs = new TemplateCommandArgs(templateCommand, myCommand, templateParseResult); 554TemplateCommandArgs templateArgs = new(templateCommand, myCommand, templateParseResult); 587TemplateCommandArgs templateArgs = new(templateCommand, myCommand, templateParseResult); 720Func<TemplateCommandArgs, bool> expectedAction = action switch 722"dry-run" => (TemplateCommandArgs ta) => ta.IsDryRun, 723"force" => (TemplateCommandArgs ta) => ta.IsForceFlagSpecified, 724"no-update-check" => (TemplateCommandArgs ta) => ta.NoUpdateCheck, 750var templateArgs = new TemplateCommandArgs(templateCommand, myCommand, templateParseResult);
ParserTests\InstantiateTests.Subcommand.cs (3)
88var templateArgs = new TemplateCommandArgs(templateCommand, instantiateCommand, templateParseResult); 151var templateArgs = new TemplateCommandArgs(templateCommand, instantiateCommand, templateParseResult); 186var templateArgs = new TemplateCommandArgs(templateCommand, instantiateCommand, templateParseResult);