C# Class MyGetMirror.NuGetPackagePusher

显示文件 Open project: NuGet/Entropy Class Usage Examples

Public Methods

Method Description
NuGetPackagePusher ( string pushUrl, string destinationApiKey, HttpSource httpSource, ILogger logger ) : System.IO
PushAsync ( Stream packageStream, CancellationToken token ) : Task

Method Details

NuGetPackagePusher() public method

public NuGetPackagePusher ( string pushUrl, string destinationApiKey, HttpSource httpSource, ILogger logger ) : System.IO
pushUrl string
destinationApiKey string
httpSource HttpSource
logger ILogger
return System.IO

PushAsync() public method

public PushAsync ( Stream packageStream, CancellationToken token ) : Task
packageStream System.IO.Stream
token System.Threading.CancellationToken
return Task