4 implementations of SupportsInteractiveInput
aspire (1)
Utils\CliHostEnvironment.cs (1)
58
public bool
SupportsInteractiveInput
{ get; }
Aspire.Cli.Tests (3)
Templating\DotNetTemplateFactoryTests.cs (1)
500
public bool
SupportsInteractiveInput
=> !nonInteractive;
Templating\TemplateNuGetConfigServiceTests.cs (1)
1592
public bool
SupportsInteractiveInput
=> false;
TestHelpers.cs (1)
30
public bool
SupportsInteractiveInput
=> supportsInteractiveInput;
40 references to SupportsInteractiveInput
aspire (40)
Backchannel\AppHostConnectionResolver.cs (2)
233
if (!hostEnvironment.
SupportsInteractiveInput
)
274
if (!hostEnvironment.
SupportsInteractiveInput
)
Certificates\CertificateService.cs (2)
75
var canPerformTrust = hostEnvironment.
SupportsInteractiveInput
|| isLinux;
152
var partialTrustAccepted = !hostEnvironment.
SupportsInteractiveInput
Commands\AddCommand.cs (6)
114
if (integrationName is null && !_hostEnvironment.
SupportsInteractiveInput
)
308
if (filteredPackagesWithShortName.Count == 0 && integrationName is not null && !_hostEnvironment.
SupportsInteractiveInput
)
711
var promptForPackage = _hostEnvironment.
SupportsInteractiveInput
&&
718
1 when promptForSinglePackage && _hostEnvironment.
SupportsInteractiveInput
=> await PromptForIntegrationAsync(candidates, cancellationToken),
720
> 1 when !_hostEnvironment.
SupportsInteractiveInput
=> distinctPackages.First(),
787
if (!_hostEnvironment.
SupportsInteractiveInput
)
Commands\AgentInitCommand.cs (4)
284
> 1 when _hostEnvironment.
SupportsInteractiveInput
=> await InteractionService.PromptForSelectionAsync(
400
var showSkillWarnings = (_hostEnvironment.
SupportsInteractiveInput
&& (!skillsProvided || requestedSkills is null)) ||
519
if (!scopeProvided && _hostEnvironment.
SupportsInteractiveInput
)
1149
if (!_hostEnvironment.
SupportsInteractiveInput
)
Commands\AppHostLauncher.cs (1)
169
var multipleAppHostBehavior = format == OutputFormat.Json || !hostEnvironment.
SupportsInteractiveInput
Commands\NewCommand.cs (4)
277
if (!_hostEnvironment.
SupportsInteractiveInput
)
340
if (templatesForTemplateArgument.Length == 0 && !_hostEnvironment.
SupportsInteractiveInput
)
346
if (!_hostEnvironment.
SupportsInteractiveInput
)
743
if (templates.Length > 1 && !_hostEnvironment.
SupportsInteractiveInput
)
Commands\PipelineCommandBase.cs (1)
273
if (!_hostEnvironment.
SupportsInteractiveInput
)
Commands\RunCommand.cs (1)
297
var multipleAppHostBehavior = _hostEnvironment.
SupportsInteractiveInput
Commands\StopCommand.cs (3)
175
if (!_hostEnvironment.
SupportsInteractiveInput
)
219
var stopResult = _hostEnvironment.
SupportsInteractiveInput
249
var multipleAppHostBehavior = multipleAppHostBehaviorOverride ?? (_hostEnvironment.
SupportsInteractiveInput
Commands\UpdateCommand.cs (1)
497
SupportsInteractiveInput = _hostEnvironment.
SupportsInteractiveInput
,
Configuration\ConfigSourceService.cs (3)
206
if (!allowInteractiveInput || !hostEnvironment.
SupportsInteractiveInput
)
280
if (!hostEnvironment.
SupportsInteractiveInput
&& parseResult.GetValue(s_useSourceOption) is null)
620
allowInteractiveInput && hostEnvironment.
SupportsInteractiveInput
);
Git\GitCommandRunner.cs (2)
56
mode == GitCommandMode.Unattended || mode == GitCommandMode.Interactive && !hostEnvironment.
SupportsInteractiveInput
;
60
var interactive = mode == GitCommandMode.Interactive && hostEnvironment.
SupportsInteractiveInput
;
Interaction\ConsoleInteractionService.cs (4)
229
if (!_hostEnvironment.
SupportsInteractiveInput
)
308
if (!_hostEnvironment.
SupportsInteractiveInput
)
458
if (!_hostEnvironment.
SupportsInteractiveInput
)
758
if (!_hostEnvironment.
SupportsInteractiveInput
)
Templating\DotNetTemplateFactory.cs (1)
331
if (!hostEnvironment.
SupportsInteractiveInput
)
Templating\TemplateEngineFactory.cs (4)
154
interactionService.DisplayTemplateGitFetchNotice(repository, templatePath, reference, hostEnvironment.
SupportsInteractiveInput
);
172
interactionService.DisplayTemplateGitFetchNotice(repository, templatePath, reference, hostEnvironment.
SupportsInteractiveInput
);
398
var promptState = (hostEnvironment.
SupportsInteractiveInput
|| computedParameters.Count > 0) && template.ParameterDefinitions.Any(parameter =>
439
else if (!hostEnvironment.
SupportsInteractiveInput
|| hostConfiguration.IsHidden(parameter.Name))
Templating\TemplateNuGetConfigService.cs (1)
423
if (!hostEnvironment.
SupportsInteractiveInput
)