-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(GH-5) Interface for PackageDownloader
Also allow overriding PackageDownloader
- Loading branch information
1 parent
a48c742
commit 19986e7
Showing
3 changed files
with
17 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
namespace NuGet | ||
{ | ||
using System; | ||
using System.IO; | ||
|
||
public interface IPackageDownloader : IHttpClientEvents | ||
{ | ||
void DownloadPackage(Uri uri, IPackageMetadata package, Stream targetStream); | ||
void DownloadPackage(IHttpClient downloadClient, IPackageName package, Stream targetStream); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters