C# Class MailKit.ProgressStream

Inheritance: Stream, ICancellableStream
Mostra file Open project: jstedfast/MailKit

Private Properties

Property Type Description

Public Methods

Method Description
Flush ( ) : void
Flush ( CancellationToken cancellationToken ) : void
ProgressStream ( Stream source, Action update ) : System
Read ( byte buffer, int offset, int count ) : int
Read ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
Write ( byte buffer, int offset, int count ) : void
Write ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : void

Method Details

Flush() public method

public Flush ( ) : void
return void

Flush() public method

public Flush ( CancellationToken cancellationToken ) : void
cancellationToken System.Threading.CancellationToken
return void

ProgressStream() public method

public ProgressStream ( Stream source, Action update ) : System
source Stream
update Action
return System

Read() public method

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
return int

Read() public method

public Read ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : int
buffer byte
offset int
count int
cancellationToken System.Threading.CancellationToken
return int

Seek() public method

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
return long

SetLength() public method

public SetLength ( long value ) : void
value long
return void

Write() public method

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
return void

Write() public method

public Write ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : void
buffer byte
offset int
count int
cancellationToken System.Threading.CancellationToken
return void