C# Class Squared.Task.IO.AsyncTextWriter

Inheritance: PendingOperationManager, IDisposable
Exibir arquivo Open project: sq/Fracture Class Usage Examples

Public Properties

Property Type Description
AutoFlush bool
DefaultEncoding System.Text.Encoding
DefaultNewLine char[]

Public Methods

Method Description
AsyncTextWriter ( IAsyncDataWriter dataWriter, Encoding encoding, int bufferSize = DefaultBufferSize, bool ownsDataWriter = true ) : System
AsyncTextWriter ( IAsyncDataWriter dataWriter, bool ownsDataWriter = true ) : System
Dispose ( ) : void
Flush ( ) : SignalFuture
Write ( ) : SignalFuture
Write ( string text ) : SignalFuture
WriteLine ( string text ) : SignalFuture
WriteLines ( ) : SignalFuture

Private Methods

Method Description
Flush ( int numChars ) : SignalFuture

Method Details

AsyncTextWriter() public method

public AsyncTextWriter ( IAsyncDataWriter dataWriter, Encoding encoding, int bufferSize = DefaultBufferSize, bool ownsDataWriter = true ) : System
dataWriter IAsyncDataWriter
encoding System.Text.Encoding
bufferSize int
ownsDataWriter bool
return System

AsyncTextWriter() public method

public AsyncTextWriter ( IAsyncDataWriter dataWriter, bool ownsDataWriter = true ) : System
dataWriter IAsyncDataWriter
ownsDataWriter bool
return System

Dispose() public method

public Dispose ( ) : void
return void

Flush() public method

public Flush ( ) : SignalFuture
return SignalFuture

Write() public method

public Write ( ) : SignalFuture
return SignalFuture

Write() public method

public Write ( string text ) : SignalFuture
text string
return SignalFuture

WriteLine() public method

public WriteLine ( string text ) : SignalFuture
text string
return SignalFuture

WriteLines() public method

public WriteLines ( ) : SignalFuture
return SignalFuture

Property Details

AutoFlush public_oe property

public bool AutoFlush
return bool

DefaultEncoding public_oe static_oe property

public static Encoding,System.Text DefaultEncoding
return System.Text.Encoding

DefaultNewLine public_oe static_oe property

public static char[] DefaultNewLine
return char[]