14 references to IntegrationPackageSearchService
aspire (12)
Commands\AddCommand.cs (4)
28
private readonly
IntegrationPackageSearchService
_integrationPackageSearchService;
55
public AddCommand(IProjectLocator projectLocator,
IntegrationPackageSearchService
integrationPackageSearchService, IAddCommandPrompter prompter, IDotNetSdkInstaller sdkInstaller, ICliHostEnvironment hostEnvironment, IAppHostProjectFactory projectFactory, ProfilingTelemetry profilingTelemetry, CommonCommandServices services)
206
var packagesWithShortName = packagesWithChannels.Select(
IntegrationPackageSearchService
.GenerateFriendlyName).OrderBy(p => p.FriendlyName, new CommunityToolkitFirstComparer()).ToList();
271
filteredPackagesWithShortName =
IntegrationPackageSearchService
.GetIntegrationSearchMatches(packagesWithShortName, integrationName)
Commands\IntegrationSearchCommand.cs (7)
21
private readonly
IntegrationPackageSearchService
_integrationPackageSearchService;
36
IntegrationPackageSearchService
integrationPackageSearchService,
100
.Select(
IntegrationPackageSearchService
.GenerateFriendlyName)
153
:
IntegrationPackageSearchService
.GetIntegrationSearchMatches(packages, searchTerm))
155
.Select(
IntegrationPackageSearchService
.SelectPreferredIntegrationPackage);
228
IntegrationPackageSearchService
integrationPackageSearchService,
246
IntegrationPackageSearchService
integrationPackageSearchService,
Program.cs (1)
619
builder.Services.AddTransient<
IntegrationPackageSearchService
>();
Aspire.Cli.Tests (2)
Commands\AddCommandTests.cs (1)
2182
var result =
IntegrationPackageSearchService
.GenerateFriendlyName((package, null!)); // Null is OK for this test.
Utils\CliTestHelper.cs (1)
280
services.AddTransient<
IntegrationPackageSearchService
>();