NugetPackages.DownloadPackages Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public System.Threading.Tasks.Task DownloadPackages (NuGet.Protocol.Core.Types.SourceCacheContext context, System.Collections.Generic.IEnumerable<NuGet.Protocol.Core.Types.SourcePackageDependencyInfo> packagesToInstall, Action<string>? statusCallback = default);
member this.DownloadPackages : NuGet.Protocol.Core.Types.SourceCacheContext * seq<NuGet.Protocol.Core.Types.SourcePackageDependencyInfo> * Action<string> -> System.Threading.Tasks.Task
Public Function DownloadPackages (context As SourceCacheContext, packagesToInstall As IEnumerable(Of SourcePackageDependencyInfo), Optional statusCallback As Action(Of String) = Nothing) As Task
Parameters
- context
- NuGet.Protocol.Core.Types.SourceCacheContext
- packagesToInstall
- IEnumerable<NuGet.Protocol.Core.Types.SourcePackageDependencyInfo>