C# Class SystemWebAdapter.Internal.OutputStream

Inheritance: DelegatingStream
显示文件 Open project: avanderhoorn/SystemWebAdapter

Public Methods

Method Description
BeginWrite ( byte buffer, int offset, int count, System callback, object state ) : IAsyncResult
EndWrite ( IAsyncResult asyncResult ) : void
Flush ( ) : void
FlushAsync ( CancellationToken cancellationToken ) : Task
Write ( byte buffer, int offset, int count ) : void
WriteAsync ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task
WriteByte ( byte value ) : void

Private Methods

Method Description
Faulted ( ) : void
OutputStream ( HttpResponse response, System.Action start, System.Action faulted ) : System
Start ( bool force ) : void

Method Details

BeginWrite() public method

public BeginWrite ( byte buffer, int offset, int count, System callback, object state ) : IAsyncResult
buffer byte
offset int
count int
callback System
state object
return IAsyncResult

EndWrite() public method

public EndWrite ( IAsyncResult asyncResult ) : void
asyncResult IAsyncResult
return void

Flush() public method

public Flush ( ) : void
return void

FlushAsync() public method

public FlushAsync ( CancellationToken cancellationToken ) : Task
cancellationToken System.Threading.CancellationToken
return Task

Write() public method

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
return void

WriteAsync() public method

public WriteAsync ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task
buffer byte
offset int
count int
cancellationToken System.Threading.CancellationToken
return Task

WriteByte() public method

public WriteByte ( byte value ) : void
value byte
return void