C# Class Microsoft.Http.HttpContent.DeferredStreamContent

Inheritance: Content
Afficher le fichier Open project: o2platform/O2.Platform.Projects

Méthodes publiques

Méthode Description
Close ( ) : void
DeferredStreamContent ( Func stream, long length ) : System
ReadAsBytes ( long length ) : byte[]
ReadAsStream ( ) : Stream
ToString ( ) : string
WriteTo ( Stream other, long length ) : void

Méthodes protégées

Méthode Description
WriteTo ( Stream other ) : void

Private Methods

Méthode Description
EnsureValue ( ) : StreamContent

Method Details

Close() public méthode

public Close ( ) : void
Résultat void

DeferredStreamContent() public méthode

public DeferredStreamContent ( Func stream, long length ) : System
stream Func
length long
Résultat System

ReadAsBytes() public méthode

public ReadAsBytes ( long length ) : byte[]
length long
Résultat byte[]

ReadAsStream() public méthode

public ReadAsStream ( ) : Stream
Résultat Stream

ToString() public méthode

public ToString ( ) : string
Résultat string

WriteTo() protected méthode

protected WriteTo ( Stream other ) : void
other Stream
Résultat void

WriteTo() public méthode

public WriteTo ( Stream other, long length ) : void
other Stream
length long
Résultat void