C# Class Ktos.Common.TextBoxTraceListener

Class for moving Debug information to simple TextBox
显示文件 Open project: pollubnet/WalkaChomika2015 Class Usage Examples

Public Methods

Method Description
TextBoxTraceListener ( TextBox output ) : System

Creates new instance of TextBoxTraceListener

Write ( string message ) : void

Writes message to debugging TextBox, along with current time

WriteLine ( string message ) : void

Writes message to debugging TextBox followed by line terminator, along with current time

Method Details

TextBoxTraceListener() public method

Creates new instance of TextBoxTraceListener
public TextBoxTraceListener ( TextBox output ) : System
output Windows.UI.Xaml.Controls.TextBox TextBox which will be receiving Debug information
return System

Write() public method

Writes message to debugging TextBox, along with current time
public Write ( string message ) : void
message string Debug message
return void

WriteLine() public method

Writes message to debugging TextBox followed by line terminator, along with current time
public WriteLine ( string message ) : void
message string Debug message
return void