5 instantiations of ScaffoldContext
aspire (2)
Commands\InitCommand.cs (1)
592var context = new ScaffoldContext(language, workingDirectory, workingDirectory.Name, Channel: resolvedChannel);
Templating\CliTemplateFactory.EmptyTemplate.cs (1)
89var context = new ScaffoldContext(
Aspire.Cli.Tests (3)
Scaffolding\ChannelReseedTests.cs (2)
53var ctx = new ScaffoldContext( 95var context = new ScaffoldContext(
Scaffolding\DefaultHostingPackagesTests.cs (1)
208var context = new ScaffoldContext(
20 references to ScaffoldContext
aspire (5)
Commands\InitCommand.cs (1)
592var context = new ScaffoldContext(language, workingDirectory, workingDirectory.Name, Channel: resolvedChannel);
Scaffolding\IScaffoldingService.cs (1)
36Task<bool> ScaffoldAsync(ScaffoldContext context, CancellationToken cancellationToken);
Scaffolding\ScaffoldingService.cs (2)
78public async Task<bool> ScaffoldAsync(ScaffoldContext context, CancellationToken cancellationToken) 88private async Task<bool> ScaffoldGuestLanguageAsync(ScaffoldContext context, CancellationToken cancellationToken)
Templating\CliTemplateFactory.EmptyTemplate.cs (1)
89var context = new ScaffoldContext(
Aspire.Cli.Tests (15)
Commands\InitCommandTests.cs (8)
1797/// the resolved channel name through <see cref="ScaffoldContext.Channel"/> so the scaffolder 1806ScaffoldContext? capturedContext = null; 1854ScaffoldContext? capturedContext = null; 1895/// passed the resolved identity channel into <see cref="ScaffoldContext.Channel"/> without 1908ScaffoldContext? capturedContext = null; 1959ScaffoldContext? capturedContext = null; 2701public Func<ScaffoldContext, CancellationToken, Task<bool>>? ScaffoldAsyncCallback { get; set; } 2703public Task<bool> ScaffoldAsync(ScaffoldContext context, CancellationToken cancellationToken)
Scaffolding\ChannelReseedTests.cs (4)
18/// <see cref="ScaffoldContext.Channel"/> verbatim and that <see cref="ScaffoldingService"/> 23/// Explicit channel and passes it through <see cref="ScaffoldContext.Channel"/>; <c>aspire init</c> 53var ctx = new ScaffoldContext( 95var context = new ScaffoldContext(
Scaffolding\DefaultHostingPackagesTests.cs (1)
208var context = new ScaffoldContext(
TestServices\TestScaffoldingService.cs (2)
10public Func<ScaffoldContext, CancellationToken, Task<bool>>? ScaffoldAsyncCallback { get; set; } 12public Task<bool> ScaffoldAsync(ScaffoldContext context, CancellationToken cancellationToken)