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