4 implementations of SupportsInteractiveInput
aspire (1)
Utils\CliHostEnvironment.cs (1)
58public bool SupportsInteractiveInput { get; }
Aspire.Cli.Tests (3)
Templating\DotNetTemplateFactoryTests.cs (1)
503public bool SupportsInteractiveInput => !nonInteractive;
Templating\TemplateNuGetConfigServiceTests.cs (1)
1592public bool SupportsInteractiveInput => false;
TestHelpers.cs (1)
23public bool SupportsInteractiveInput => supportsInteractiveInput;
30 references to SupportsInteractiveInput
aspire (30)
Backchannel\AppHostConnectionResolver.cs (2)
233if (!hostEnvironment.SupportsInteractiveInput) 274if (!hostEnvironment.SupportsInteractiveInput)
Certificates\CertificateService.cs (2)
75var canPerformTrust = hostEnvironment.SupportsInteractiveInput || isLinux; 152var partialTrustAccepted = !hostEnvironment.SupportsInteractiveInput
Commands\AddCommand.cs (4)
285if (filteredPackagesWithShortName.Count == 0 && integrationName is not null && !_hostEnvironment.SupportsInteractiveInput) 5881 when promptForSinglePackage && _hostEnvironment.SupportsInteractiveInput => await PromptForIntegrationAsync(distinctPackages, cancellationToken), 590> 1 when !_hostEnvironment.SupportsInteractiveInput => distinctPackages.First(), 651if (!_hostEnvironment.SupportsInteractiveInput)
Commands\AgentInitCommand.cs (2)
404if ((!sourceProvided && _hostEnvironment.SupportsInteractiveInput) || 452if (!scopeProvided && _hostEnvironment.SupportsInteractiveInput)
Commands\AppHostLauncher.cs (1)
150var multipleAppHostBehavior = format == OutputFormat.Json || !hostEnvironment.SupportsInteractiveInput
Commands\NewCommand.cs (4)
277if (!_hostEnvironment.SupportsInteractiveInput) 340if (templatesForTemplateArgument.Length == 0 && !_hostEnvironment.SupportsInteractiveInput) 346if (!_hostEnvironment.SupportsInteractiveInput) 740if (templates.Length > 1 && !_hostEnvironment.SupportsInteractiveInput)
Commands\PipelineCommandBase.cs (1)
274if (!_hostEnvironment.SupportsInteractiveInput)
Commands\RunCommand.cs (1)
295var multipleAppHostBehavior = _hostEnvironment.SupportsInteractiveInput
Commands\StopCommand.cs (3)
175if (!_hostEnvironment.SupportsInteractiveInput) 219var stopResult = _hostEnvironment.SupportsInteractiveInput 249var multipleAppHostBehavior = multipleAppHostBehaviorOverride ?? (_hostEnvironment.SupportsInteractiveInput
Configuration\ConfigSourceService.cs (1)
180if (!hostEnvironment.SupportsInteractiveInput)
Git\GitCommandRunner.cs (1)
43var interactive = mode == GitCommandMode.Interactive && hostEnvironment.SupportsInteractiveInput;
Interaction\ConsoleInteractionService.cs (4)
229if (!_hostEnvironment.SupportsInteractiveInput) 301if (!_hostEnvironment.SupportsInteractiveInput) 373if (!_hostEnvironment.SupportsInteractiveInput) 673if (!_hostEnvironment.SupportsInteractiveInput)
Templating\DotNetTemplateFactory.cs (1)
331if (!hostEnvironment.SupportsInteractiveInput)
Templating\TemplateEngineFactory.cs (2)
392var promptState = (hostEnvironment.SupportsInteractiveInput || computedParameters.Count > 0) && template.ParameterDefinitions.Any(parameter => 433else if (!hostEnvironment.SupportsInteractiveInput || hostConfiguration.IsHidden(parameter.Name))
Templating\TemplateNuGetConfigService.cs (1)
423if (!hostEnvironment.SupportsInteractiveInput)