4 instantiations of ScaffoldContext
aspire (2)
Commands\InitCommand.cs (1)
514
var context = new
ScaffoldContext
(language, workingDirectory, workingDirectory.Name, Channel: resolvedChannel);
Templating\CliTemplateFactory.EmptyTemplate.cs (1)
88
var context = new
ScaffoldContext
(
Aspire.Cli.Tests (2)
Scaffolding\ChannelReseedTests.cs (2)
53
var ctx = new
ScaffoldContext
(
96
var context = new
ScaffoldContext
(
19 references to ScaffoldContext
aspire (5)
Commands\InitCommand.cs (1)
514
var
context = new ScaffoldContext(language, workingDirectory, workingDirectory.Name, Channel: resolvedChannel);
Scaffolding\IScaffoldingService.cs (1)
36
Task<bool> ScaffoldAsync(
ScaffoldContext
context, CancellationToken cancellationToken);
Scaffolding\ScaffoldingService.cs (2)
72
public async Task<bool> ScaffoldAsync(
ScaffoldContext
context, CancellationToken cancellationToken)
82
private async Task<bool> ScaffoldGuestLanguageAsync(
ScaffoldContext
context, CancellationToken cancellationToken)
Templating\CliTemplateFactory.EmptyTemplate.cs (1)
88
var
context = new ScaffoldContext(
Aspire.Cli.Tests (14)
Commands\InitCommandTests.cs (8)
1255
/// the resolved channel name through <see cref="
ScaffoldContext
.Channel"/> so the scaffolder
1264
ScaffoldContext
? capturedContext = null;
1312
ScaffoldContext
? capturedContext = null;
1353
/// passed the resolved identity channel into <see cref="
ScaffoldContext
.Channel"/> without
1366
ScaffoldContext
? capturedContext = null;
1417
ScaffoldContext
? capturedContext = null;
2178
public Func<
ScaffoldContext
, CancellationToken, Task<bool>>? ScaffoldAsyncCallback { get; set; }
2180
public 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>
53
var
ctx = new ScaffoldContext(
96
var
context = new ScaffoldContext(
TestServices\TestScaffoldingService.cs (2)
10
public Func<
ScaffoldContext
, CancellationToken, Task<bool>>? ScaffoldAsyncCallback { get; set; }
12
public Task<bool> ScaffoldAsync(
ScaffoldContext
context, CancellationToken cancellationToken)