4 implementations of SupportsInteractiveInput
aspire (1)
Utils\CliHostEnvironment.cs (1)
58
public bool
SupportsInteractiveInput
{ get; }
Aspire.Cli.Tests (3)
Templating\DotNetTemplateFactoryTests.cs (1)
498
public bool
SupportsInteractiveInput
=> !nonInteractive;
Templating\TemplateNuGetConfigServiceTests.cs (1)
1306
public bool
SupportsInteractiveInput
=> false;
TestHelpers.cs (1)
23
public bool
SupportsInteractiveInput
=> supportsInteractiveInput;
22 references to SupportsInteractiveInput
aspire (22)
Backchannel\AppHostConnectionResolver.cs (2)
211
if (!hostEnvironment.
SupportsInteractiveInput
)
252
if (!hostEnvironment.
SupportsInteractiveInput
)
Certificates\CertificateService.cs (2)
75
var canPerformTrust = hostEnvironment.
SupportsInteractiveInput
|| isLinux;
152
var partialTrustAccepted = !hostEnvironment.
SupportsInteractiveInput
Commands\AddCommand.cs (4)
257
if (filteredPackagesWithShortName.Count == 0 && integrationName is not null && !_hostEnvironment.
SupportsInteractiveInput
)
480
1 when promptForSinglePackage && _hostEnvironment.
SupportsInteractiveInput
=> await PromptForIntegrationAsync(distinctPackages, cancellationToken),
482
> 1 when !_hostEnvironment.
SupportsInteractiveInput
=> distinctPackages.First(),
543
if (!_hostEnvironment.
SupportsInteractiveInput
)
Commands\AppHostLauncher.cs (1)
149
var multipleAppHostBehavior = format == OutputFormat.Json || !hostEnvironment.
SupportsInteractiveInput
Commands\NewCommand.cs (2)
251
if (!_hostEnvironment.
SupportsInteractiveInput
)
320
if (!_hostEnvironment.
SupportsInteractiveInput
)
Commands\PipelineCommandBase.cs (1)
250
if (!_hostEnvironment.
SupportsInteractiveInput
)
Commands\RunCommand.cs (1)
263
var multipleAppHostBehavior = _hostEnvironment.
SupportsInteractiveInput
Commands\StopCommand.cs (3)
114
if (!_hostEnvironment.
SupportsInteractiveInput
)
124
var stopResult = _hostEnvironment.
SupportsInteractiveInput
154
var multipleAppHostBehavior = multipleAppHostBehaviorOverride ?? (_hostEnvironment.
SupportsInteractiveInput
Interaction\ConsoleInteractionService.cs (4)
229
if (!_hostEnvironment.
SupportsInteractiveInput
)
301
if (!_hostEnvironment.
SupportsInteractiveInput
)
373
if (!_hostEnvironment.
SupportsInteractiveInput
)
666
if (!_hostEnvironment.
SupportsInteractiveInput
)
Templating\DotNetTemplateFactory.cs (1)
326
if (!hostEnvironment.
SupportsInteractiveInput
)
Templating\TemplateNuGetConfigService.cs (1)
387
if (!hostEnvironment.
SupportsInteractiveInput
)