C# Class DroidExplorer.Plugins.ConsoleWriter

Inheritance: System.IO.StringWriter
Exibir arquivo Open project: camalot/droidexplorer

Private Properties

Property Type Description
ProcessString void
SetTextColor void

Public Methods

Method Description
AutoScroll ( ) : void

Auto Scrolls the window

ConsoleWriter ( System.Windows.Forms.RichTextBox &textBox ) : System

Initializes a new instance of the ConsoleWriter class.

SetConsoleColor ( ConsoleColor color ) : void

Sets the color of the console.

Write ( bool value ) : void

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

Write ( char value ) : void

Writes a character to this instance of the StringWriter.

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

Writes the specified region of a character array to this instance of the StringWriter.

Write ( decimal value ) : void

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

Write ( double value ) : void

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

Write ( float value ) : void

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

Write ( int value ) : void

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

Write ( long value ) : void

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

Write ( object value ) : void

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

Write ( string value ) : void

Writes a string to this instance of the StringWriter.

Write ( string format, object arg0 ) : void

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

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

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

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

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

Write ( uint value ) : void

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

Write ( ulong value ) : void

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

WriteLine ( bool value ) : void

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

WriteLine ( char value ) : void

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

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

Writes a subarray of characters followed by a line terminator to the text stream.

WriteLine ( decimal value ) : void

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

WriteLine ( double value ) : void

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

WriteLine ( float value ) : void

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

WriteLine ( int value ) : void

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

WriteLine ( long value ) : void

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

WriteLine ( object value ) : void

Writes the text representation of an object by calling ToString on this object, followed by a line terminator to the text stream.

WriteLine ( string value ) : void

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

WriteLine ( string format, object arg0 ) : 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, object arg1 ) : 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, 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 stream.

WriteLine ( ulong value ) : void

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

Private Methods

Method Description
ProcessString ( string value ) : void

Processes the string.

SetTextColor ( ConsoleColor color ) : void

Sets the color of the text.

Method Details

AutoScroll() public method

Auto Scrolls the window
public AutoScroll ( ) : void
return void

ConsoleWriter() public method

Initializes a new instance of the ConsoleWriter class.
public ConsoleWriter ( System.Windows.Forms.RichTextBox &textBox ) : System
textBox System.Windows.Forms.RichTextBox The text box.
return System

SetConsoleColor() public method

Sets the color of the console.
public SetConsoleColor ( ConsoleColor color ) : void
color ConsoleColor The color.
return void

Write() public method

Writes the text representation of a Boolean value to the text stream.
public Write ( bool value ) : void
value bool The Boolean to write.
return void

Write() public method

Writes a character to this instance of the StringWriter.
public Write ( char value ) : void
value char The character to write.
return void

Write() public method

Writes the specified region of a character array to this instance of the StringWriter.
public Write ( char buffer, int index, int count ) : void
buffer char The character array to read data from.
index int The index at which to begin reading from .
count int The maximum number of characters to write.
return void

Write() public method

Writes the text representation of a decimal value to the text stream.
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 stream.
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 stream.
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 stream.
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 stream.
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 stream by calling ToString on that object.
public Write ( object value ) : void
value object The object to write.
return void

Write() public method

Writes a string to this instance of the StringWriter.
public Write ( string value ) : void
value string The string to write.
return void

Write() public method

Writes out a formatted string, using the same semantics as M:System.String.Format(System.String,System.Object).
public Write ( string format, object arg0 ) : void
format string The formatting string.
arg0 object An object to write into the formatted string.
return void

Write() public method

Writes out a formatted string, using the same semantics as M:System.String.Format(System.String,System.Object).
public Write ( string format, object arg0, object arg1 ) : void
format string The formatting string.
arg0 object An object to write into the formatted string.
arg1 object An object to write into the formatted string.
return void

Write() public method

Writes out a formatted string, using the same semantics as M:System.String.Format(System.String,System.Object).
public Write ( string format, object arg0, object arg1, object arg2 ) : void
format string The formatting string.
arg0 object An object to write into the formatted string.
arg1 object An object to write into the formatted string.
arg2 object An object to write into the formatted string.
return void

Write() public method

Writes the text representation of a 4-byte unsigned integer to the text stream.
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 stream.
public Write ( ulong value ) : void
value ulong The 8-byte unsigned integer to write.
return void

WriteLine() public method

Writes the text representation of a Boolean followed by a line terminator to the text stream.
public WriteLine ( bool value ) : void
value bool The Boolean to write.
return void

WriteLine() public method

Writes a character followed by a line terminator to the text stream.
public WriteLine ( char value ) : void
value char The character to write to the text stream.
return void

WriteLine() public method

Writes a subarray of characters followed by a line terminator to the text stream.
public WriteLine ( char buffer, int index, int count ) : void
buffer char The character array from which data is read.
index int The index into at which to begin reading.
count int The maximum number of characters to write.
return void

WriteLine() public method

Writes the text representation of a decimal value followed by a line terminator to the text stream.
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 stream.
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 stream.
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 stream.
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 stream.
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 ToString on this object, followed by a line terminator to the text stream.
public WriteLine ( object value ) : void
value object The object to write. If is null, only the line termination characters are written.
return void

WriteLine() public method

Writes a string followed by a line terminator to the text stream.
public WriteLine ( string value ) : void
value string The string to write. If is null, only the line termination characters are 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).
public WriteLine ( string format, object arg0 ) : void
format string The formatted string.
arg0 object The object to write into the formatted string.
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).
public WriteLine ( string format, object arg0, object arg1 ) : void
format string The formatting string.
arg0 object The object to write into the format string.
arg1 object The object to write into the format string.
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).
public WriteLine ( string format, object arg0, object arg1, object arg2 ) : void
format string The formatting string.
arg0 object The object to write into the format string.
arg1 object The object to write into the format string.
arg2 object The object to write into the format string.
return void

WriteLine() public method

Writes the text representation of a 4-byte unsigned integer followed by a line terminator to the text stream.
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 stream.
public WriteLine ( ulong value ) : void
value ulong The 8-byte unsigned integer to write.
return void