C# Class SoundBoard.Updating.Internal.Streams.StreamCopier

Inheritance: IDisposable
Datei anzeigen Open project: jormenjanssen/Soundboard

Protected Properties

Property Type Description
WriteBufferSize int

Public Methods

Method Description
CopyStream ( IProgress streamProgressResult, CancellationToken cancellationToken, long expectedSize = -1 ) : bool
Dispose ( ) : void
StreamCopier ( Stream sourceStream, Stream targetStream ) : System

Private Methods

Method Description
CalculateProgress ( long downloaded, long expectedSize ) : int

Method Details

CopyStream() public method

public CopyStream ( IProgress streamProgressResult, CancellationToken cancellationToken, long expectedSize = -1 ) : bool
streamProgressResult IProgress
cancellationToken System.Threading.CancellationToken
expectedSize long
return bool

Dispose() public method

public Dispose ( ) : void
return void

StreamCopier() public method

public StreamCopier ( Stream sourceStream, Stream targetStream ) : System
sourceStream Stream
targetStream Stream
return System

Property Details

WriteBufferSize protected_oe property

protected int WriteBufferSize
return int