4 references to ValidateConstraintsAsync
Microsoft.TemplateEngine.Cli (1)
Commands\create\TemplateCommand.cs (1)
159
Task<IReadOnlyList<TemplateConstraintResult>> constraintsEvaluation =
ValidateConstraintsAsync
(constraintManager, args.Template, args.IsForceFlagSpecified ? cancellationTokenSource.Token : cancellationToken);
Microsoft.TemplateEngine.Cli.UnitTests (3)
ParserTests\TemplateCommandTests.cs (3)
77
Assert.Empty(await TemplateCommand.
ValidateConstraintsAsync
(templateConstraintManager, template, default));
90
Assert.NotEmpty(await TemplateCommand.
ValidateConstraintsAsync
(templateConstraintManager, template, default));
102
Assert.NotEmpty(await TemplateCommand.
ValidateConstraintsAsync
(templateConstraintManager, template, default));