Class DownloadResourceV3
- Namespace
- NuGet.Protocol
- Assembly
- NuGet.Protocol.dll
public class DownloadResourceV3 : DownloadResource, INuGetResource
- Inheritance
-
DownloadResourceV3
- Implements
-
- Inherited Members
-
- Extension Methods
-
Constructors
DownloadResourceV3(HttpSource, RegistrationResourceV3)
[Obsolete("Use constructor with source parameter")]
public DownloadResourceV3(HttpSource client, RegistrationResourceV3 regResource)
Parameters
client HttpSource
regResource RegistrationResourceV3
DownloadResourceV3(HttpSource, string)
[Obsolete("Use constructor with source parameter")]
public DownloadResourceV3(HttpSource client, string packageBaseAddress)
Parameters
client HttpSource
packageBaseAddress string
DownloadResourceV3(string, HttpSource, RegistrationResourceV3)
public DownloadResourceV3(string source, HttpSource client, RegistrationResourceV3 regResource)
Parameters
source string
client HttpSource
regResource RegistrationResourceV3
DownloadResourceV3(string, HttpSource, string)
public DownloadResourceV3(string source, HttpSource client, string packageBaseAddress)
Parameters
source string
client HttpSource
packageBaseAddress string
Methods
GetDownloadResourceResultAsync(PackageIdentity, PackageDownloadContext, string, ILogger, CancellationToken)
public override Task<DownloadResourceResult> GetDownloadResourceResultAsync(PackageIdentity identity, PackageDownloadContext downloadContext, string globalPackagesFolder, ILogger logger, CancellationToken token)
Parameters
identity PackageIdentity
downloadContext PackageDownloadContext
globalPackagesFolder string
logger ILogger
token CancellationToken
Returns
- Task<DownloadResourceResult>