1 write to _hostEnvironment
aspire (1)
Commands\AddCommand.cs (1)
62
_hostEnvironment
= hostEnvironment;
4 references to _hostEnvironment
aspire (4)
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)