1 write to Channel
aspire (1)
Commands\NewCommand.cs (1)
585
Channel
= resolvedChannelName,
20 references to Channel
aspire (19)
Templating\CliTemplateFactory.EmptyTemplate.cs (6)
59
if (!await _templateNuGetConfigService.CreateOrUpdateNuGetConfigForSourceOverrideAsync(inputs.Source, inputs.
Channel
, outputPath, cancellationToken))
61
await _templateNuGetConfigService.PromptToCreateOrUpdateNuGetConfigAsync(inputs.
Channel
, outputPath, cancellationToken);
74
if (!string.IsNullOrEmpty(inputs.
Channel
))
80
config.Channel = inputs.
Channel
;
93
Channel: inputs.
Channel
,
116
await _templateNuGetConfigService.CreateOrUpdateNuGetConfigForSourceOverrideAsync(inputs.Source, inputs.
Channel
, outputPath, cancellationToken);
Templating\CliTemplateFactory.GoStarterTemplate.cs (3)
69
if (!string.IsNullOrEmpty(inputs.
Channel
))
72
config.Channel = inputs.
Channel
;
91
await _templateNuGetConfigService.CreateOrUpdateNuGetConfigForSourceOverrideAsync(inputs.Source, inputs.
Channel
, outputPath, cancellationToken);
Templating\CliTemplateFactory.JavaStarterTemplate.cs (3)
71
if (!string.IsNullOrEmpty(inputs.
Channel
))
73
config.Channel = inputs.
Channel
;
91
await _templateNuGetConfigService.CreateOrUpdateNuGetConfigForSourceOverrideAsync(inputs.Source, inputs.
Channel
, outputPath, cancellationToken);
Templating\CliTemplateFactory.PythonStarterTemplate.cs (3)
83
if (!string.IsNullOrEmpty(inputs.
Channel
))
86
config.Channel = inputs.
Channel
;
105
await _templateNuGetConfigService.CreateOrUpdateNuGetConfigForSourceOverrideAsync(inputs.Source, inputs.
Channel
, outputPath, cancellationToken);
Templating\CliTemplateFactory.TypeScriptStarterTemplate.cs (3)
69
if (!string.IsNullOrEmpty(inputs.
Channel
))
71
config.Channel = inputs.
Channel
;
89
await _templateNuGetConfigService.CreateOrUpdateNuGetConfigForSourceOverrideAsync(inputs.Source, inputs.
Channel
, outputPath, cancellationToken);
Templating\DotNetTemplateFactory.cs (1)
465
RequestedChannel: inputs.
Channel
,
Aspire.Cli.Tests (1)
Commands\NewCommandChannelResolutionTests.cs (1)
580
capturedInputs.Channel = inputs.
Channel
;