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