C# Class ModernHttpClient.ConcatenatingStream

Inheritance: Stream
Afficher le fichier Open project: fpt-software/Wordpress-Client

Private Properties

Свойство Type Description
EndOfStream void
readInternal int

Méthodes publiques

Méthode Description
ConcatenatingStream ( IEnumerable source, bool closeStreams, Task blockUntil = null, System.Action onDispose = null ) : System
Flush ( ) : void
Read ( byte buffer, int offset, int count ) : int
ReadAsync ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
Write ( byte buffer, int offset, int count ) : void
WriteByte ( byte value ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
EndOfStream ( ) : void
readInternal ( byte buffer, int offset, int count, CancellationToken ct = default(CancellationToken) ) : int

Method Details

ConcatenatingStream() public méthode

public ConcatenatingStream ( IEnumerable source, bool closeStreams, Task blockUntil = null, System.Action onDispose = null ) : System
source IEnumerable
closeStreams bool
blockUntil Task
onDispose System.Action
Résultat System

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Flush() public méthode

public Flush ( ) : void
Résultat void

Read() public méthode

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

ReadAsync() public méthode

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

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

WriteByte() public méthode

public WriteByte ( byte value ) : void
value byte
Résultat void