23 references to CreateTemplateAsync
Aspire.Cli.Tests (23)
Commands\NewCommandLocalTemplateTests.cs (19)
141await CreateTemplateAsync(workspace, "template"); 542await CreateTemplateAsync(workspace, "template"); 627await CreateTemplateAsync(workspace, "template"); 652await CreateTemplateAsync(workspace, "template", requiredGreeting: !succeeds); 1162await CreateTemplateAsync(workspace, "template", displayNames: false); 1190await CreateTemplateAsync(workspace, "template", requiredGreeting: true); 1256await CreateTemplateAsync(workspace, "template"); 1276await CreateTemplateAsync(workspace, "templates/first"); 1277await CreateTemplateAsync(workspace, "templates/second"); 1327await CreateTemplateAsync(workspace, "template"); 1343await CreateTemplateAsync(workspace, "template"); 1363await CreateTemplateAsync(workspace, "template"); 1389await CreateTemplateAsync(workspace, templateDirectory); 1448await CreateTemplateAsync(workspace, Path.GetRelativePath(workspace.Path, Path.Combine(destination.FullName, "template"))); 1637await CreateTemplateAsync(workspace, Path.GetRelativePath(workspace.Path, Path.Combine(destination.FullName, "template"))); 1684await CreateTemplateAsync(workspace, "repository/template"); 1769await CreateTemplateAsync(workspace, Path.GetRelativePath(workspace.Path, Path.Combine(destination.FullName, "one"))); 1770await CreateTemplateAsync(workspace, Path.GetRelativePath(workspace.Path, Path.Combine(destination.FullName, "two"))); 1827await CreateTemplateAsync(workspace, Path.GetRelativePath(workspace.Path, Path.Combine(destination.FullName, "template")));
Commands\NewCommandLocalTemplateTests.HostConfiguration.cs (4)
31await CreateTemplateAsync(workspace, "template"); 89await CreateTemplateAsync(workspace, "template"); 185await CreateTemplateAsync(workspace, "template", requiredGreeting: true); 221await CreateTemplateAsync(workspace, "template");