C# Class RavenFS.Client.AsyncExtensions

Datei anzeigen Open project: hibernating-rhinos/RavenFS

Public Methods

Method Description
CopyToAsync ( this source, Stream destination, Action progressReport, CancellationToken token, int bufferSize = 0x1000 ) : Task
CopyToAsync ( this source, Stream destination, Action progressReport, int bufferSize = 0x1000 ) : Task

Private Methods

Method Description
CopyStream ( Stream source, Stream destination, Action progressReport, int bufferSize, CancellationToken token ) : Task

Method Details

CopyToAsync() public static method

public static CopyToAsync ( this source, Stream destination, Action progressReport, CancellationToken token, int bufferSize = 0x1000 ) : Task
source this
destination Stream
progressReport Action
token System.Threading.CancellationToken
bufferSize int
return Task

CopyToAsync() public static method

public static CopyToAsync ( this source, Stream destination, Action progressReport, int bufferSize = 0x1000 ) : Task
source this
destination Stream
progressReport Action
bufferSize int
return Task