C# Class MailKit.ProgressStream

Inheritance: Stream, ICancellableStream
Afficher le fichier Open project: jstedfast/MailKit

Private Properties

Свойство Type Description

Méthodes publiques

Méthode 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 méthode

public Flush ( ) : void
Résultat void

Flush() public méthode

public Flush ( CancellationToken cancellationToken ) : void
cancellationToken System.Threading.CancellationToken
Résultat void

ProgressStream() public méthode

public ProgressStream ( Stream source, Action update ) : System
source Stream
update Action
Résultat System

Read() public méthode

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
Résultat int

Read() public méthode

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

Seek() public méthode

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
Résultat long

SetLength() public méthode

public SetLength ( long value ) : void
value long
Résultat void

Write() public méthode

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
Résultat void

Write() public méthode

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