C# Class System.Diagnostics.Debug

Provides a set of properties and methods for debugging code.
Mostra file Open project: dotnet/corefx Class Usage Examples

Private Methods

Method Description
Assert ( bool condition ) : void
Assert ( bool condition, string message ) : void
Assert ( bool condition, string message, string detailMessage ) : void
Close ( ) : void
Fail ( string message ) : void
Fail ( string message, string detailMessage ) : void
Flush ( ) : void
FormatAssert ( string stackTrace, string message, string detailMessage ) : string
GetIndentString ( ) : string
Indent ( ) : void
Print ( string message ) : void
Unindent ( ) : void
Write ( object value ) : void
Write ( object value, string category ) : void
Write ( string message ) : void
Write ( string message, string category ) : void
WriteCore ( string message ) : void
WriteIf ( bool condition, object value ) : void
WriteIf ( bool condition, object value, string category ) : void
WriteIf ( bool condition, string message ) : void
WriteIf ( bool condition, string message, string category ) : void
WriteLine ( object value ) : void
WriteLine ( object value, string category ) : void
WriteLine ( string message ) : void
WriteLine ( string message, string category ) : void
WriteLineIf ( bool condition, object value ) : void
WriteLineIf ( bool condition, object value, string category ) : void
WriteLineIf ( bool condition, string message ) : void
WriteLineIf ( bool condition, string message, string category ) : void