C# Class coqtopw.TraceStream

Inheritance: Stream
Datei anzeigen Open project: siegebell/vscoq Class Usage Examples

Public Properties

Property Type Description
leaveOpen bool

Public Methods

Method Description
BeginRead ( byte buffer, int offset, int count, AsyncCallback callback, object state ) : IAsyncResult
BeginWrite ( byte buffer, int offset, int count, AsyncCallback callback, object state ) : IAsyncResult
Close ( ) : void
CopyToAsync ( Stream destination, int bufferSize, System cancellationToken ) : System.Threading.Tasks.Task
EndRead ( IAsyncResult asyncResult ) : int
EndWrite ( IAsyncResult asyncResult ) : void
Flush ( ) : void
FlushAsync ( System cancellationToken ) : System.Threading.Tasks.Task
GetHashCode ( ) : int
Read ( byte buffer, int offset, int count ) : int
ReadAsync ( byte buffer, int offset, int count, System cancellationToken ) : System.Threading.Tasks.Task
ReadByte ( ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
ToString ( ) : string
TraceStream ( Stream observed, byte tracePrefix, byte traceTempPostfix, Stream trace, bool leaveOpen = false ) : System
Write ( byte buffer, int offset, int count ) : void
WriteAsync ( byte buffer, int offset, int count, System cancellationToken ) : System.Threading.Tasks.Task
WriteByte ( byte value ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
WriteTrace ( byte buffer, int offset, int count ) : void

Method Details

BeginRead() public method

public BeginRead ( byte buffer, int offset, int count, AsyncCallback callback, object state ) : IAsyncResult
buffer byte
offset int
count int
callback AsyncCallback
state object
return IAsyncResult

BeginWrite() public method

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

Close() public method

public Close ( ) : void
return void

CopyToAsync() public method

public CopyToAsync ( Stream destination, int bufferSize, System cancellationToken ) : System.Threading.Tasks.Task
destination Stream
bufferSize int
cancellationToken System
return System.Threading.Tasks.Task

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

EndRead() public method

public EndRead ( IAsyncResult asyncResult ) : int
asyncResult IAsyncResult
return int

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 ( System cancellationToken ) : System.Threading.Tasks.Task
cancellationToken System
return System.Threading.Tasks.Task

GetHashCode() public method

public GetHashCode ( ) : int
return int

Read() public method

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
return int

ReadAsync() public method

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

ReadByte() public method

public ReadByte ( ) : int
return int

Seek() public method

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
return long

SetLength() public method

public SetLength ( long value ) : void
value long
return void

ToString() public method

public ToString ( ) : string
return string

TraceStream() public method

public TraceStream ( Stream observed, byte tracePrefix, byte traceTempPostfix, Stream trace, bool leaveOpen = false ) : System
observed Stream
tracePrefix byte
traceTempPostfix byte
trace Stream
leaveOpen bool
return System

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, System cancellationToken ) : System.Threading.Tasks.Task
buffer byte
offset int
count int
cancellationToken System
return System.Threading.Tasks.Task

WriteByte() public method

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

Property Details

leaveOpen public_oe property

public bool leaveOpen
return bool