5 instantiations of DotNetPackageSearchResult
aspire (4)
DotNet\DotNetCliRunner.cs (4)
1615return new(result, null, [], HasFullSourcePage: false); 1622return new(CliExitCodes.FailedToAddPackage, null, [], HasFullSourcePage: false); 1640return new(CliExitCodes.FailedToAddPackage, null, [], HasFullSourcePage: false); 1657return new(
Aspire.Cli.Tests (1)
TestServices\TestDotNetCliRunner.cs (1)
234return Task.FromResult(new DotNetPackageSearchResult(result.ExitCode, result.Packages, SearchFailedSources, hasFullSourcePage));
14 references to DotNetPackageSearchResult
aspire (6)
DotNet\DotNetCliRunner.cs (4)
45Task<DotNetPackageSearchResult> SearchPackagesAsync(DirectoryInfo workingDirectory, string query, bool exactMatch, bool prerelease, int take, int skip, FileInfo? nugetConfigFile, bool useCache, ProcessInvocationOptions options, INuGetClient nuGetClient, CancellationToken cancellationToken); 1465public async Task<DotNetPackageSearchResult> SearchPackagesAsync(DirectoryInfo workingDirectory, string query, bool exactMatch, bool prerelease, int take, int skip, FileInfo? nugetConfigFile, bool useCache, ProcessInvocationOptions options, INuGetClient nuGetClient, CancellationToken cancellationToken) 1627var searchResults = ReadPackageSearchResults(stdout, workingDirectory, nugetConfigFile, pageSize, nuGetClient); 1646private static DotNetPackageSearchResult ReadPackageSearchResults(
NuGet\NuGetPackageCache.cs (2)
192var result = await cliRunner.SearchPackagesAsync( 272var result = await cliRunner.SearchPackagesAsync(
Aspire.Cli.Tests (8)
DotNet\DotNetCliRunnerTests.cs (6)
2963var result = await runner.SearchPackagesAsync( 3009var result = await runner.SearchPackagesAsync( 3052var result = await runner.SearchPackagesAsync( 3095var result = await runner.SearchPackagesAsync( 3152var result = await runner.SearchPackagesAsync( 3191var result = await runner.SearchPackagesAsync(
Templating\DotNetTemplateFactoryTests.cs (1)
449public Task<DotNetPackageSearchResult> SearchPackagesAsync(DirectoryInfo workingDirectory, string query, bool exactMatch, bool prerelease, int take, int skip, FileInfo? nugetConfigFile, bool useCache, ProcessInvocationOptions options, INuGetClient nuGetClient, CancellationToken cancellationToken)
TestServices\TestDotNetCliRunner.cs (1)
226public Task<DotNetPackageSearchResult> SearchPackagesAsync(DirectoryInfo workingDirectory, string query, bool exactMatch, bool prerelease, int take, int skip, FileInfo? nugetConfigFile, bool useCache, ProcessInvocationOptions options, INuGetClient nuGetClient, CancellationToken cancellationToken)