13 references to InstantiateAsync
aspire (4)
Templating\TemplateEngineFactory.cs (2)
506var preview = await creator.InstantiateAsync(template, name, null, outputPath, parameters, dryRun: true, cancellationToken: cancellationToken); 515() => creator.InstantiateAsync(template, name, null, outputPath, parameters, cancellationToken: cancellationToken),
Templating\TemplateEngineFactory.NuGetValues.cs (2)
37var result = await creator.InstantiateAsync( 89() => creator.InstantiateAsync(template, name, null, preliminary.FullName, parameters, cancellationToken: cancellationToken),
Aspire.Cli.Tests (2)
Commands\NewCommandLocalTemplateTests.HostConfiguration.cs (2)
526var result = await creator.InstantiateAsync(discoveredTemplate, "Demo", null, Path.Combine(workspace.Path, "out"), 532var invalid = await creator.InstantiateAsync(discoveredTemplate, "Demo", null, Path.Combine(workspace.Path, "invalid"),
GenerateTemplateManifest (1)
TemplateRestorePlan.cs (1)
83var result = await creator.InstantiateAsync(template, "Template", null, output, parameters).ConfigureAwait(false);
Microsoft.TemplateEngine.Cli (1)
TemplateInvoker.cs (1)
165instantiateResult = await _templateCreator.InstantiateAsync(
Microsoft.TemplateEngine.Edge (1)
Template\ITemplateCreationResult.cs (1)
9/// Represents result of template instantiation / dry run via <see cref="TemplateCreator.InstantiateAsync(ITemplateInfo, string?, string?, string?, System.Collections.Generic.IReadOnlyDictionary{string, string?}, bool, string?, bool, System.Threading.CancellationToken)"></see>. />.
Microsoft.TemplateEngine.IDE (4)
Bootstrapper.cs (4)
153return _templateCreator.InstantiateAsync( 217return _templateCreator.InstantiateAsync( 454ITemplateCreationResult instantiateResult = await _templateCreator.InstantiateAsync(info, name, name, outputPath, parameters, false, baselineName).ConfigureAwait(false); 461ITemplateCreationResult instantiateResult = await _templateCreator.InstantiateAsync(info, name, name, outputPath, parameters, false, baselineName, true).ConfigureAwait(false);