C# Class Gate.Utils.Net40Extensions

Afficher le fichier Open project: owin/museum-piece-gate

Méthodes publiques

Méthode Description
CopyToAsync ( this source, Stream destination, CancellationToken cancel = default(CancellationToken) ) : Task
CopyToAsync ( this source, Stream destination, int bytesRemaining, CancellationToken cancel = default(CancellationToken) ) : Task
FlushAsync ( this stream ) : Task
WriteAsync ( this stream, byte buffer, int offset, int count, CancellationToken cancel = default(CancellationToken) ) : Task

Method Details

CopyToAsync() public static méthode

public static CopyToAsync ( this source, Stream destination, CancellationToken cancel = default(CancellationToken) ) : Task
source this
destination Stream
cancel System.Threading.CancellationToken
Résultat Task

CopyToAsync() public static méthode

public static CopyToAsync ( this source, Stream destination, int bytesRemaining, CancellationToken cancel = default(CancellationToken) ) : Task
source this
destination Stream
bytesRemaining int
cancel System.Threading.CancellationToken
Résultat Task

FlushAsync() public static méthode

public static FlushAsync ( this stream ) : Task
stream this
Résultat Task

WriteAsync() public static méthode

public static WriteAsync ( this stream, byte buffer, int offset, int count, CancellationToken cancel = default(CancellationToken) ) : Task
stream this
buffer byte
offset int
count int
cancel System.Threading.CancellationToken
Résultat Task