5 instantiations of DotNetPackageSearchResult
aspire (4)
DotNet\DotNetCliRunner.cs (4)
1615
return
new
(result, null, [], HasFullSourcePage: false);
1622
return
new
(CliExitCodes.FailedToAddPackage, null, [], HasFullSourcePage: false);
1640
return
new
(CliExitCodes.FailedToAddPackage, null, [], HasFullSourcePage: false);
1657
return
new
(
Aspire.Cli.Tests (1)
TestServices\TestDotNetCliRunner.cs (1)
234
return Task.FromResult(new
DotNetPackageSearchResult
(result.ExitCode, result.Packages, SearchFailedSources, hasFullSourcePage));
14 references to DotNetPackageSearchResult
aspire (6)
DotNet\DotNetCliRunner.cs (4)
45
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);
1465
public 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)
1627
var
searchResults = ReadPackageSearchResults(stdout, workingDirectory, nugetConfigFile, pageSize, nuGetClient);
1646
private static
DotNetPackageSearchResult
ReadPackageSearchResults(
NuGet\NuGetPackageCache.cs (2)
192
var
result = await cliRunner.SearchPackagesAsync(
272
var
result = await cliRunner.SearchPackagesAsync(
Aspire.Cli.Tests (8)
DotNet\DotNetCliRunnerTests.cs (6)
2963
var
result = await runner.SearchPackagesAsync(
3009
var
result = await runner.SearchPackagesAsync(
3052
var
result = await runner.SearchPackagesAsync(
3095
var
result = await runner.SearchPackagesAsync(
3152
var
result = await runner.SearchPackagesAsync(
3191
var
result = await runner.SearchPackagesAsync(
Templating\DotNetTemplateFactoryTests.cs (1)
449
public 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)
226
public 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)