C# Class Microsoft.Http.HttpContent.DeferredStreamContent

Inheritance: Content
Mostra file Open project: o2platform/O2.Platform.Projects

Public Methods

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

Protected Methods

Method Description
WriteTo ( Stream other ) : void

Private Methods

Method Description
EnsureValue ( ) : StreamContent

Method Details

Close() public method

public Close ( ) : void
return void

DeferredStreamContent() public method

public DeferredStreamContent ( Func stream, long length ) : System
stream Func
length long
return System

ReadAsBytes() public method

public ReadAsBytes ( long length ) : byte[]
length long
return byte[]

ReadAsStream() public method

public ReadAsStream ( ) : Stream
return Stream

ToString() public method

public ToString ( ) : string
return string

WriteTo() protected method

protected WriteTo ( Stream other ) : void
other Stream
return void

WriteTo() public method

public WriteTo ( Stream other, long length ) : void
other Stream
length long
return void