11 instantiations of TemplateCommandArgs
Microsoft.TemplateEngine.Cli (1)
Commands\create\TemplateCommand.cs (1)
150
TemplateCommandArgs args =
new
(this, _instantiateCommand, parseResult);
Microsoft.TemplateEngine.Cli.UnitTests (10)
ParserTests\InstantiateTests.cs (7)
260
var templateArgs = new
TemplateCommandArgs
(templateCommand, myCommand, templateParseResult);
326
var templateArgs = new
TemplateCommandArgs
(templateCommand, myCommand, templateParseResult);
369
var templateArgs = new
TemplateCommandArgs
(templateCommand, myCommand, templateParseResult);
413
var templateArgs = new
TemplateCommandArgs
(templateCommand, myCommand, templateParseResult);
554
TemplateCommandArgs templateArgs =
new
(templateCommand, myCommand, templateParseResult);
587
TemplateCommandArgs templateArgs =
new
(templateCommand, myCommand, templateParseResult);
750
var templateArgs = new
TemplateCommandArgs
(templateCommand, myCommand, templateParseResult);
ParserTests\InstantiateTests.Subcommand.cs (3)
88
var templateArgs = new
TemplateCommandArgs
(templateCommand, instantiateCommand, templateParseResult);
151
var templateArgs = new
TemplateCommandArgs
(templateCommand, instantiateCommand, templateParseResult);
186
var templateArgs = new
TemplateCommandArgs
(templateCommand, instantiateCommand, templateParseResult);
20 references to TemplateCommandArgs
Microsoft.TemplateEngine.Cli (6)
Commands\create\TemplateCommand.cs (2)
150
TemplateCommandArgs
args = new(this, _instantiateCommand, parseResult);
221
private void DisplayConstraintResults(IReadOnlyList<TemplateConstraintResult> constraintResults,
TemplateCommandArgs
templateArgs)
TemplateInvoker.cs (3)
38
internal async Task<NewCommandStatus> InvokeTemplateAsync(
TemplateCommandArgs
templateArgs, CancellationToken cancellationToken)
128
private async Task<NewCommandStatus> CreateTemplateAsync(
TemplateCommandArgs
templateArgs, CancellationToken cancellationToken)
309
private NewCommandStatus HandlePostActions(ITemplateCreationResult creationResult,
TemplateCommandArgs
args)
TemplatePackageCoordinator.cs (1)
56
internal async Task<CheckUpdateResult?> CheckUpdateForTemplate(
TemplateCommandArgs
args, CancellationToken cancellationToken = default)
Microsoft.TemplateEngine.Cli.UnitTests (14)
ParserTests\InstantiateTests.cs (11)
260
var
templateArgs = new TemplateCommandArgs(templateCommand, myCommand, templateParseResult);
326
var
templateArgs = new TemplateCommandArgs(templateCommand, myCommand, templateParseResult);
369
var
templateArgs = new TemplateCommandArgs(templateCommand, myCommand, templateParseResult);
413
var
templateArgs = new TemplateCommandArgs(templateCommand, myCommand, templateParseResult);
554
TemplateCommandArgs
templateArgs = new(templateCommand, myCommand, templateParseResult);
587
TemplateCommandArgs
templateArgs = new(templateCommand, myCommand, templateParseResult);
720
Func<
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,
750
var
templateArgs = new TemplateCommandArgs(templateCommand, myCommand, templateParseResult);
ParserTests\InstantiateTests.Subcommand.cs (3)
88
var
templateArgs = new TemplateCommandArgs(templateCommand, instantiateCommand, templateParseResult);
151
var
templateArgs = new TemplateCommandArgs(templateCommand, instantiateCommand, templateParseResult);
186
var
templateArgs = new TemplateCommandArgs(templateCommand, instantiateCommand, templateParseResult);