1 write to _hostEnvironment
aspire (1)
Commands\AddCommand.cs (1)
66
_hostEnvironment
= hostEnvironment;
4 references to _hostEnvironment
aspire (4)
Commands\AddCommand.cs (4)
285
if (filteredPackagesWithShortName.Count == 0 && integrationName is not null && !
_hostEnvironment
.SupportsInteractiveInput)
588
1 when promptForSinglePackage &&
_hostEnvironment
.SupportsInteractiveInput => await PromptForIntegrationAsync(distinctPackages, cancellationToken),
590
> 1 when !
_hostEnvironment
.SupportsInteractiveInput => distinctPackages.First(),
651
if (!
_hostEnvironment
.SupportsInteractiveInput)