1 write to _hostEnvironment
aspire (1)
Commands\AddCommand.cs (1)
62_hostEnvironment = hostEnvironment;
4 references to _hostEnvironment
aspire (4)
Commands\AddCommand.cs (4)
257if (filteredPackagesWithShortName.Count == 0 && integrationName is not null && !_hostEnvironment.SupportsInteractiveInput) 4801 when promptForSinglePackage && _hostEnvironment.SupportsInteractiveInput => await PromptForIntegrationAsync(distinctPackages, cancellationToken), 482> 1 when !_hostEnvironment.SupportsInteractiveInput => distinctPackages.First(), 543if (!_hostEnvironment.SupportsInteractiveInput)