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