C# Class Dev2.Providers.Logs.Dev2LoggingTextWriter

Inheritance: System.IO.TextWriter
显示文件 Open project: Warewolf-ESB/Warewolf

Public Methods

Method Description
Write ( bool value ) : void

Writes the text representation of a Boolean value to the text string or stream.

Write ( char value ) : void

Writes a character to the text string or stream.

Write ( decimal value ) : void

Writes the text representation of a decimal value to the text string or stream.

Write ( double value ) : void

Writes the text representation of an 8-byte floating-point value to the text string or stream.

Write ( float value ) : void

Writes the text representation of a 4-byte floating-point value to the text string or stream.

Write ( int value ) : void

Writes the text representation of a 4-byte signed integer to the text string or stream.

Write ( long value ) : void

Writes the text representation of an 8-byte signed integer to the text string or stream.

Write ( object value ) : void

Writes the text representation of an object to the text string or stream by calling the ToString method on that object.

Write ( string format ) : void

Writes a formatted string to the text string or stream, using the same semantics as the M:System.String.Format(System.String,System.Object[]) method.

Write ( string format, object arg0 ) : void

Writes a formatted string to the text string or stream, using the same semantics as the M:System.String.Format(System.String,System.Object) method.

Write ( string format, object arg0, object arg1 ) : void

Writes a formatted string to the text string or stream, using the same semantics as the M:System.String.Format(System.String,System.Object,System.Object) method.

Write ( string format, object arg0, object arg1, object arg2 ) : void

Writes a formatted string to the text string or stream, using the same semantics as the M:System.String.Format(System.String,System.Object,System.Object,System.Object) method.

Write ( uint value ) : void

Writes the text representation of a 4-byte unsigned integer to the text string or stream.

Write ( ulong value ) : void

Writes the text representation of an 8-byte unsigned integer to the text string or stream.

WriteAsync ( char value ) : System.Threading.Tasks.Task

Writes a character to the text string or stream asynchronously.

WriteAsync ( string value ) : System.Threading.Tasks.Task

Writes a string to the text string or stream asynchronously.

WriteLine ( ) : void

Writes a line terminator to the text string or stream.

WriteLine ( bool value ) : void

Writes the text representation of a Boolean value followed by a line terminator to the text string or stream.

WriteLine ( char value ) : void

Writes a character followed by a line terminator to the text string or stream.

WriteLine ( decimal value ) : void

Writes the text representation of a decimal value followed by a line terminator to the text string or stream.

WriteLine ( double value ) : void

Writes the text representation of a 8-byte floating-point value followed by a line terminator to the text string or stream.

WriteLine ( float value ) : void

Writes the text representation of a 4-byte floating-point value followed by a line terminator to the text string or stream.

WriteLine ( int value ) : void

Writes the text representation of a 4-byte signed integer followed by a line terminator to the text string or stream.

WriteLine ( long value ) : void

Writes the text representation of an 8-byte signed integer followed by a line terminator to the text string or stream.

WriteLine ( object value ) : void

Writes the text representation of an object by calling the ToString method on that object, followed by a line terminator to the text string or stream.

WriteLine ( string format ) : void

Writes out a formatted string and a new line, using the same semantics as M:System.String.Format(System.String,System.Object).

WriteLine ( string format, object arg0 ) : void

Writes a formatted string and a new line to the text string or stream, using the same semantics as the M:System.String.Format(System.String,System.Object) method.

WriteLine ( string format, object arg0, object arg1 ) : void

Writes a formatted string and a new line to the text string or stream, using the same semantics as the M:System.String.Format(System.String,System.Object,System.Object) method.

WriteLine ( string format, object arg0, object arg1, object arg2 ) : void

Writes out a formatted string and a new line, using the same semantics as M:System.String.Format(System.String,System.Object).

WriteLine ( uint value ) : void

Writes the text representation of a 4-byte unsigned integer followed by a line terminator to the text string or stream.

WriteLine ( ulong value ) : void

Writes the text representation of an 8-byte unsigned integer followed by a line terminator to the text string or stream.

WriteLineAsync ( char value ) : System.Threading.Tasks.Task

Writes a character followed by a line terminator asynchronously to the text string or stream.

WriteLineAsync ( string value ) : System.Threading.Tasks.Task

Writes a string followed by a line terminator asynchronously to the text string or stream.

Method Details

Write() public method

Writes the text representation of a Boolean value to the text string or stream.
The is closed. An I/O error occurs.
public Write ( bool value ) : void
value bool The Boolean value to write.
return void

Write() public method

Writes a character to the text string or stream.
The is closed. An I/O error occurs.
public Write ( char value ) : void
value char The character to write to the text stream.
return void

Write() public method

Writes the text representation of a decimal value to the text string or stream.
The is closed. An I/O error occurs.
public Write ( decimal value ) : void
value decimal The decimal value to write.
return void

Write() public method

Writes the text representation of an 8-byte floating-point value to the text string or stream.
The is closed. An I/O error occurs.
public Write ( double value ) : void
value double The 8-byte floating-point value to write.
return void

Write() public method

Writes the text representation of a 4-byte floating-point value to the text string or stream.
The is closed. An I/O error occurs.
public Write ( float value ) : void
value float The 4-byte floating-point value to write.
return void

Write() public method

Writes the text representation of a 4-byte signed integer to the text string or stream.
The is closed. An I/O error occurs.
public Write ( int value ) : void
value int The 4-byte signed integer to write.
return void

Write() public method

Writes the text representation of an 8-byte signed integer to the text string or stream.
The is closed. An I/O error occurs.
public Write ( long value ) : void
value long The 8-byte signed integer to write.
return void

Write() public method

Writes the text representation of an object to the text string or stream by calling the ToString method on that object.
The is closed. An I/O error occurs.
public Write ( object value ) : void
value object The object to write.
return void

Write() public method

Writes a formatted string to the text string or stream, using the same semantics as the M:System.String.Format(System.String,System.Object[]) method.
or is null. The is closed. An I/O error occurs. is not a valid composite format string.-or- The index of a format item is less than 0 (zero), or greater than or equal to the length of the array.
public Write ( string format ) : void
format string A composite format string (see Remarks).
return void

Write() public method

Writes a formatted string to the text string or stream, using the same semantics as the M:System.String.Format(System.String,System.Object) method.
is null. The is closed. An I/O error occurs. is not a valid composite format string.-or- The index of a format item is less than 0 (zero), or greater than or equal to the number of objects to be formatted (which, for this method overload, is one).
public Write ( string format, object arg0 ) : void
format string A composite format string (see Remarks).
arg0 object The object to format and write.
return void

Write() public method

Writes a formatted string to the text string or stream, using the same semantics as the M:System.String.Format(System.String,System.Object,System.Object) method.
is null. The is closed. An I/O error occurs. is not a valid composite format string.-or- The index of a format item is less than 0 (zero) or greater than or equal to the number of objects to be formatted (which, for this method overload, is two).
public Write ( string format, object arg0, object arg1 ) : void
format string A composite format string (see Remarks).
arg0 object The first object to format and write.
arg1 object The second object to format and write.
return void

Write() public method

Writes a formatted string to the text string or stream, using the same semantics as the M:System.String.Format(System.String,System.Object,System.Object,System.Object) method.
is null. The is closed. An I/O error occurs. is not a valid composite format string.-or- The index of a format item is less than 0 (zero), or greater than or equal to the number of objects to be formatted (which, for this method overload, is three).
public Write ( string format, object arg0, object arg1, object arg2 ) : void
format string A composite format string (see Remarks).
arg0 object The first object to format and write.
arg1 object The second object to format and write.
arg2 object The third object to format and write.
return void

Write() public method

Writes the text representation of a 4-byte unsigned integer to the text string or stream.
The is closed. An I/O error occurs.
public Write ( uint value ) : void
value uint The 4-byte unsigned integer to write.
return void

Write() public method

Writes the text representation of an 8-byte unsigned integer to the text string or stream.
The is closed. An I/O error occurs.
public Write ( ulong value ) : void
value ulong The 8-byte unsigned integer to write.
return void

WriteAsync() public method

Writes a character to the text string or stream asynchronously.
The text writer is disposed. The text writer is currently in use by a previous write operation.
public WriteAsync ( char value ) : System.Threading.Tasks.Task
value char The character to write to the text stream.
return System.Threading.Tasks.Task

WriteAsync() public method

Writes a string to the text string or stream asynchronously.
The text writer is disposed. The text writer is currently in use by a previous write operation.
public WriteAsync ( string value ) : System.Threading.Tasks.Task
value string The string to write. If is null, nothing is written to the text stream.
return System.Threading.Tasks.Task

WriteLine() public method

Writes a line terminator to the text string or stream.
The is closed. An I/O error occurs.
public WriteLine ( ) : void
return void

WriteLine() public method

Writes the text representation of a Boolean value followed by a line terminator to the text string or stream.
The is closed. An I/O error occurs.
public WriteLine ( bool value ) : void
value bool The Boolean value to write.
return void

WriteLine() public method

Writes a character followed by a line terminator to the text string or stream.
The is closed. An I/O error occurs.
public WriteLine ( char value ) : void
value char The character to write to the text stream.
return void

WriteLine() public method

Writes the text representation of a decimal value followed by a line terminator to the text string or stream.
The is closed. An I/O error occurs.
public WriteLine ( decimal value ) : void
value decimal The decimal value to write.
return void

WriteLine() public method

Writes the text representation of a 8-byte floating-point value followed by a line terminator to the text string or stream.
The is closed. An I/O error occurs.
public WriteLine ( double value ) : void
value double The 8-byte floating-point value to write.
return void

WriteLine() public method

Writes the text representation of a 4-byte floating-point value followed by a line terminator to the text string or stream.
The is closed. An I/O error occurs.
public WriteLine ( float value ) : void
value float The 4-byte floating-point value to write.
return void

WriteLine() public method

Writes the text representation of a 4-byte signed integer followed by a line terminator to the text string or stream.
The is closed. An I/O error occurs.
public WriteLine ( int value ) : void
value int The 4-byte signed integer to write.
return void

WriteLine() public method

Writes the text representation of an 8-byte signed integer followed by a line terminator to the text string or stream.
The is closed. An I/O error occurs.
public WriteLine ( long value ) : void
value long The 8-byte signed integer to write.
return void

WriteLine() public method

Writes the text representation of an object by calling the ToString method on that object, followed by a line terminator to the text string or stream.
The is closed. An I/O error occurs.
public WriteLine ( object value ) : void
value object The object to write. If is null, only the line terminator is written.
return void

WriteLine() public method

Writes out a formatted string and a new line, using the same semantics as M:System.String.Format(System.String,System.Object).
A string or object is passed in as null. The is closed. An I/O error occurs. is not a valid composite format string.-or- The index of a format item is less than 0 (zero), or greater than or equal to the length of the array.
public WriteLine ( string format ) : void
format string A composite format string (see Remarks).
return void

WriteLine() public method

Writes a formatted string and a new line to the text string or stream, using the same semantics as the M:System.String.Format(System.String,System.Object) method.
is null. The is closed. An I/O error occurs. is not a valid composite format string.-or- The index of a format item is less than 0 (zero), or greater than or equal to the number of objects to be formatted (which, for this method overload, is one).
public WriteLine ( string format, object arg0 ) : void
format string A composite format string (see Remarks).
arg0 object The object to format and write.
return void

WriteLine() public method

Writes a formatted string and a new line to the text string or stream, using the same semantics as the M:System.String.Format(System.String,System.Object,System.Object) method.
is null. The is closed. An I/O error occurs. is not a valid composite format string.-or- The index of a format item is less than 0 (zero), or greater than or equal to the number of objects to be formatted (which, for this method overload, is two).
public WriteLine ( string format, object arg0, object arg1 ) : void
format string A composite format string (see Remarks).
arg0 object The first object to format and write.
arg1 object The second object to format and write.
return void

WriteLine() public method

Writes out a formatted string and a new line, using the same semantics as M:System.String.Format(System.String,System.Object).
is null. The is closed. An I/O error occurs. is not a valid composite format string.-or- The index of a format item is less than 0 (zero), or greater than or equal to the number of objects to be formatted (which, for this method overload, is three).
public WriteLine ( string format, object arg0, object arg1, object arg2 ) : void
format string A composite format string (see Remarks).
arg0 object The first object to format and write.
arg1 object The second object to format and write.
arg2 object The third object to format and write.
return void

WriteLine() public method

Writes the text representation of a 4-byte unsigned integer followed by a line terminator to the text string or stream.
The is closed. An I/O error occurs.
public WriteLine ( uint value ) : void
value uint The 4-byte unsigned integer to write.
return void

WriteLine() public method

Writes the text representation of an 8-byte unsigned integer followed by a line terminator to the text string or stream.
The is closed. An I/O error occurs.
public WriteLine ( ulong value ) : void
value ulong The 8-byte unsigned integer to write.
return void

WriteLineAsync() public method

Writes a character followed by a line terminator asynchronously to the text string or stream.
The text writer is disposed. The text writer is currently in use by a previous write operation.
public WriteLineAsync ( char value ) : System.Threading.Tasks.Task
value char The character to write to the text stream.
return System.Threading.Tasks.Task

WriteLineAsync() public method

Writes a string followed by a line terminator asynchronously to the text string or stream.
The text writer is disposed. The text writer is currently in use by a previous write operation.
public WriteLineAsync ( string value ) : System.Threading.Tasks.Task
value string The string to write. If the value is null, only a line terminator is written.
return System.Threading.Tasks.Task