C# Class WebApplications.Utilities.Formatting.FormattedStringWriter

Inheritance: System.IO.TextWriter, IFormattable
Show file Open project: webappsuk/CoreLibraries

Public Methods

Method Description
Close ( ) : void

Closes the current writer and releases any system resources associated with the writer.

FormattedStringWriter ( [ builder = null, [ formatProvider = null ) : System

Initializes a new instance of the FormattedStringWriter class.

ToString ( ) : string

Returns a System.String that represents this instance.

ToString ( [ format, [ formatProvider ) : string

To the string.

Write ( [ buffer ) : void

Writes the specified buffer.

Write ( [ format, [ arg0 ) : void

Writes the specified format.

Write ( [ format, [ arg0, [ arg1 ) : void

Writes the specified format.

Write ( [ format, [ arg0, [ arg1, [ arg2 ) : void

Writes the specified format.

Write ( [ buffer, int index, int count ) : void

Writes the specified buffer.

Write ( bool value ) : void

Writes the specified value.

Write ( char value ) : void

Writes the specified value.

Write ( decimal value ) : void

Writes the specified value.

Write ( double value ) : void

Writes the specified value.

Write ( float value ) : void

Writes the specified value.

Write ( int value ) : void

Writes the specified value.

Write ( long value ) : void

Writes the specified value.

Write ( uint value ) : void

Writes the specified value.

Write ( ulong value ) : void

Writes the specified value.

WriteLine ( ) : void

Writes the line.

WriteLine ( [ buffer ) : void

Writes the line.

WriteLine ( [ format, [ arg0 ) : void

Writes the line.

WriteLine ( [ format, [ arg0, [ arg1 ) : void

Writes the line.

WriteLine ( [ format, [ arg0, [ arg1, [ arg2 ) : void

Writes the line.

WriteLine ( [ buffer, int index, int count ) : void

Writes the line.

WriteLine ( bool value ) : void

Writes the line.

WriteLine ( char value ) : void

Writes the line.

WriteLine ( decimal value ) : void

Writes the line.

WriteLine ( double value ) : void

Writes the line.

WriteLine ( float value ) : void

Writes the line.

WriteLine ( int value ) : void

Writes the line.

WriteLine ( long value ) : void

Writes the line.

WriteLine ( uint value ) : void

Writes the line.

WriteLine ( ulong value ) : void

Writes the line.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

Private Methods

Method Description
ToString ( [ formatProvider ) : string
WriteAsync ( [ builder ) : System.Threading.Tasks.Task

Method Details

Close() public method

Closes the current writer and releases any system resources associated with the writer.
public Close ( ) : void
return void

Dispose() protected method

Releases unmanaged and - optionally - managed resources.
protected Dispose ( bool disposing ) : void
disposing bool to release both managed and unmanaged resources; to release only unmanaged resources.
return void

FormattedStringWriter() public method

Initializes a new instance of the FormattedStringWriter class.
public FormattedStringWriter ( [ builder = null, [ formatProvider = null ) : System
builder [ The builder.
formatProvider [ The format provider.
return System

ToString() public method

Returns a System.String that represents this instance.
public ToString ( ) : string
return string

ToString() public method

To the string.
public ToString ( [ format, [ formatProvider ) : string
format [ The format.
formatProvider [ The format provider.
return string

Write() public method

Writes the specified buffer.
public Write ( [ buffer ) : void
buffer [ The buffer.
return void

Write() public method

Writes the specified format.
public Write ( [ format, [ arg0 ) : void
format [ The format.
arg0 [ The arg0.
return void

Write() public method

Writes the specified format.
public Write ( [ format, [ arg0, [ arg1 ) : void
format [ The format.
arg0 [ The arg0.
arg1 [ The arg1.
return void

Write() public method

Writes the specified format.
public Write ( [ format, [ arg0, [ arg1, [ arg2 ) : void
format [ The format.
arg0 [ The arg0.
arg1 [ The arg1.
arg2 [ The arg2.
return void

Write() public method

Writes the specified buffer.
public Write ( [ buffer, int index, int count ) : void
buffer [ The buffer.
index int The index.
count int The count.
return void

Write() public method

Writes the specified value.
public Write ( bool value ) : void
value bool The value.
return void

Write() public method

Writes the specified value.
public Write ( char value ) : void
value char The value.
return void

Write() public method

Writes the specified value.
public Write ( decimal value ) : void
value decimal The value.
return void

Write() public method

Writes the specified value.
public Write ( double value ) : void
value double The value.
return void

Write() public method

Writes the specified value.
public Write ( float value ) : void
value float The value.
return void

Write() public method

Writes the specified value.
public Write ( int value ) : void
value int The value.
return void

Write() public method

Writes the specified value.
public Write ( long value ) : void
value long The value.
return void

Write() public method

Writes the specified value.
public Write ( uint value ) : void
value uint The value.
return void

Write() public method

Writes the specified value.
public Write ( ulong value ) : void
value ulong The value.
return void

WriteLine() public method

Writes the line.
public WriteLine ( ) : void
return void

WriteLine() public method

Writes the line.
public WriteLine ( [ buffer ) : void
buffer [ The buffer.
return void

WriteLine() public method

Writes the line.
public WriteLine ( [ format, [ arg0 ) : void
format [ The format.
arg0 [ The arg0.
return void

WriteLine() public method

Writes the line.
public WriteLine ( [ format, [ arg0, [ arg1 ) : void
format [ The format.
arg0 [ The arg0.
arg1 [ The arg1.
return void

WriteLine() public method

Writes the line.
public WriteLine ( [ format, [ arg0, [ arg1, [ arg2 ) : void
format [ The format.
arg0 [ The arg0.
arg1 [ The arg1.
arg2 [ The arg2.
return void

WriteLine() public method

Writes the line.
public WriteLine ( [ buffer, int index, int count ) : void
buffer [ The buffer.
index int The index.
count int The count.
return void

WriteLine() public method

Writes the line.
public WriteLine ( bool value ) : void
value bool The value.
return void

WriteLine() public method

Writes the line.
public WriteLine ( char value ) : void
value char The value.
return void

WriteLine() public method

Writes the line.
public WriteLine ( decimal value ) : void
value decimal The value.
return void

WriteLine() public method

Writes the line.
public WriteLine ( double value ) : void
value double The value.
return void

WriteLine() public method

Writes the line.
public WriteLine ( float value ) : void
value float The value.
return void

WriteLine() public method

Writes the line.
public WriteLine ( int value ) : void
value int The value.
return void

WriteLine() public method

Writes the line.
public WriteLine ( long value ) : void
value long The value.
return void

WriteLine() public method

Writes the line.
public WriteLine ( uint value ) : void
value uint The value.
return void

WriteLine() public method

Writes the line.
public WriteLine ( ulong value ) : void
value ulong The value.
return void