13 references to GetTemplatesAsync
Microsoft.TemplateEngine.Cli (9)
Commands\BaseCommand.cs (2)
111/// This method uses <see cref="TemplatePackageManager.GetTemplatesAsync(CancellationToken)"/>, however this should not take long as templates normally at least once 120IReadOnlyList<ITemplateInfo> availableTemplates = await templatePackageManager.GetTemplatesAsync(cancellationToken).ConfigureAwait(false);
Commands\create\InstantiateCommand.cs (1)
49IReadOnlyList<ITemplateInfo> templates = await templatePackageManager.GetTemplatesAsync(cancellationToken).ConfigureAwait(false);
Commands\create\InstantiateCommand.TabCompletion.cs (1)
116Task.Run(async () => await templatePackageManager.GetTemplatesAsync(default).ConfigureAwait(false)).GetAwaiter().GetResult();
Commands\NewCommand.cs (1)
32Task.Run(async () => await templatePackageManager.GetTemplatesAsync(default).ConfigureAwait(false)).GetAwaiter().GetResult();
TemplateListCoordinator.cs (1)
253IReadOnlyList<ITemplateInfo> templates = await _templatePackageManager.GetTemplatesAsync(cancellationToken).ConfigureAwait(false);
TemplatePackageCoordinator.cs (2)
786IReadOnlyList<ITemplateInfo> templates = await _templatePackageManager.GetTemplatesAsync(cancellationToken).ConfigureAwait(false); 808IReadOnlyList<ITemplateInfo> templates = await _templatePackageManager.GetTemplatesAsync(cancellationToken).ConfigureAwait(false);
TemplateResolution\BaseTemplateResolver.cs (1)
48templates = await _templatePackageManager.GetTemplatesAsync(cancellationToken).ConfigureAwait(false);
Microsoft.TemplateEngine.Edge (2)
Settings\TemplatePackageManager.cs (2)
175IReadOnlyList<ITemplateInfo> templates = await GetTemplatesAsync(cancellationToken).ConfigureAwait(false); 211var allTemplates = await GetTemplatesAsync(cancellationToken).ConfigureAwait(false);
Microsoft.TemplateEngine.IDE (2)
Bootstrapper.cs (2)
104return _templatePackagesManager.GetTemplatesAsync(cancellationToken); 367return TemplateListFilter.FilterTemplates(await _templatePackagesManager.GetTemplatesAsync(default).ConfigureAwait(false), exactMatchesOnly, filters);