1 instantiation of DownloadDependencyResolutionResult
NuGet.Commands (1)
RestoreCommand\DownloadDependencyResolutionResult.cs (1)
67
return new
DownloadDependencyResolutionResult
(framework, dependencies, install, unresolved);
15 references to DownloadDependencyResolutionResult
NuGet.Commands (15)
RestoreCommand\DependencyGraphResolver.cs (2)
147
DownloadDependencyResolutionResult
[]? downloadDependencyResolutionResults = default;
260
success &= await projectRestoreCommand.InstallPackagesAsync(installedPackages, runtimeGraphs, Array.Empty<
DownloadDependencyResolutionResult
>(), userPackageFolder, token);
RestoreCommand\Diagnostics\UnresolvedMessages.cs (2)
49
internal static async Task LogAsync(IList<
DownloadDependencyResolutionResult
> downloadDependencyResults, RemoteWalkContext context, CancellationToken token)
53
foreach (
var
ddi in downloadDependencyResults)
RestoreCommand\DownloadDependencyResolutionResult.cs (1)
45
public static
DownloadDependencyResolutionResult
Create(NuGetFramework framework, IList<Tuple<LibraryRange, RemoteMatch>> dependencies, IList<IRemoteDependencyProvider> remoteDependencyProviders)
RestoreCommand\ProjectRestoreCommand.cs (10)
159
Array.Empty<
DownloadDependencyResolutionResult
>(),
217
internal static async Task<
DownloadDependencyResolutionResult
[]> DownloadDependenciesAsync(PackageSpec packageSpec, RemoteWalkContext context, TelemetryActivity telemetryActivity, string telemetryPrefix, CancellationToken cancellationToken)
221
List<Task<
DownloadDependencyResolutionResult
>> downloadDependencyResolutionTasks = new(capacity: packageSpec.TargetFrameworks.Count);
225
Task<
DownloadDependencyResolutionResult
> task = ResolveDownloadDependenciesAsync(context, targetFrameworkInformation, cancellationToken);
230
DownloadDependencyResolutionResult
[] downloadDependencyResolutionResults = await Task.WhenAll(downloadDependencyResolutionTasks);
236
async Task<
DownloadDependencyResolutionResult
> ResolveDownloadDependenciesAsync(RemoteWalkContext context, TargetFrameworkInformation targetFrameworkInformation, CancellationToken token)
240
return
DownloadDependencyResolutionResult
.Create(targetFrameworkInformation.FrameworkName, Array.Empty<Tuple<LibraryRange, RemoteMatch>>(), context.RemoteLibraryProviders);
252
return
DownloadDependencyResolutionResult
.Create(targetFrameworkInformation.FrameworkName, packageDownloadMatches, context.RemoteLibraryProviders);
302
internal async Task<bool> ResolutionSucceeded(IEnumerable<RestoreTargetGraph> graphs, IList<
DownloadDependencyResolutionResult
> downloadDependencyResults, RemoteWalkContext context, CancellationToken token)
349
IList<
DownloadDependencyResolutionResult
> downloadDependencyInformations,