1 write to Channel
aspire (1)
Commands\NewCommand.cs (1)
713Channel = resolvedChannelName,
20 references to Channel
aspire (19)
Templating\CliTemplateFactory.EmptyTemplate.cs (6)
60if (!await _templateNuGetConfigService.CreateNuGetConfigForSourceOverrideAsync(inputs.Source, inputs.Channel, outputPath, cancellationToken)) 62await _templateNuGetConfigService.PromptToCreateNuGetConfigAsync(inputs.Channel, outputPath, cancellationToken); 75if (!string.IsNullOrEmpty(inputs.Channel)) 81config.Channel = inputs.Channel; 94Channel: inputs.Channel, 117await _templateNuGetConfigService.CreateNuGetConfigForSourceOverrideAsync(inputs.Source, inputs.Channel, outputPath, cancellationToken);
Templating\CliTemplateFactory.GoStarterTemplate.cs (3)
69if (!string.IsNullOrEmpty(inputs.Channel)) 72config.Channel = inputs.Channel; 91await _templateNuGetConfigService.CreateNuGetConfigForSourceOverrideAsync(inputs.Source, inputs.Channel, outputPath, cancellationToken);
Templating\CliTemplateFactory.JavaStarterTemplate.cs (3)
71if (!string.IsNullOrEmpty(inputs.Channel)) 73config.Channel = inputs.Channel; 91await _templateNuGetConfigService.CreateNuGetConfigForSourceOverrideAsync(inputs.Source, inputs.Channel, outputPath, cancellationToken);
Templating\CliTemplateFactory.PythonStarterTemplate.cs (3)
83if (!string.IsNullOrEmpty(inputs.Channel)) 86config.Channel = inputs.Channel; 105await _templateNuGetConfigService.CreateNuGetConfigForSourceOverrideAsync(inputs.Source, inputs.Channel, outputPath, cancellationToken);
Templating\CliTemplateFactory.TypeScriptStarterTemplate.cs (3)
69if (!string.IsNullOrEmpty(inputs.Channel)) 71config.Channel = inputs.Channel; 89await _templateNuGetConfigService.CreateNuGetConfigForSourceOverrideAsync(inputs.Source, inputs.Channel, outputPath, cancellationToken);
Templating\DotNetTemplateFactory.cs (1)
470RequestedChannel: inputs.Channel,
Aspire.Cli.Tests (1)
Commands\NewCommandChannelResolutionTests.cs (1)
580capturedInputs.Channel = inputs.Channel;