C# Class Catalogue.Utilities.Diagnostics.ObjectDumper

Mostrar archivo Open project: jncc/topcat

Public Methods

Method Description
String ( object element ) : string

Dumps the object to a string. Added for convenience by Pete.

Write ( object element ) : void
Write ( object element, int depth ) : void
Write ( object element, int depth, TextWriter log ) : void
WriteAll ( IEnumerable elements ) : void

Private Methods

Method Description
ObjectDumper ( int depth ) : System
Write ( string s ) : void
WriteIndent ( ) : void
WriteLine ( ) : void
WriteObject ( string prefix, object element ) : void
WriteTab ( ) : void
WriteValue ( object o ) : void

Method Details

String() public static method

Dumps the object to a string. Added for convenience by Pete.
public static String ( object element ) : string
element object
return string

Write() public static method

public static Write ( object element ) : void
element object
return void

Write() public static method

public static Write ( object element, int depth ) : void
element object
depth int
return void

Write() public static method

public static Write ( object element, int depth, TextWriter log ) : void
element object
depth int
log System.IO.TextWriter
return void

WriteAll() public static method

public static WriteAll ( IEnumerable elements ) : void
elements IEnumerable
return void