C# Class NStub.Core.Util.Dumper.ObjectDumper

Object low level dumper.
Mostra file Open project: Jedzia/NStub

Private Properties

Property Type Description
ObjectDumper System
ObjectDumper System
Write void
WriteIndent void
WriteLine void
WriteObject void
WriteObject void
WriteTab void
WriteValue void

Public Methods

Method Description
Write ( object element ) : void

Writes the specified element to the output.

Write ( object element, int depth ) : void

Writes the specified element.

Write ( object element, int depth, int maxcount ) : void

Writes the specified element.

Write ( object element, int depth, int maxcount, TextWriter log ) : void

Writes the specified element.

Write ( string prefix, object element, int depth, int maxcount, TextWriter log ) : void

Writes the specified element.

Private Methods

Method Description
ObjectDumper ( int depth, int maxcount ) : System

Prevents a default instance of the ObjectDumper class from being created.

ObjectDumper ( int depth, int maxcount, TextWriter writer ) : System

Initializes a new instance of the ObjectDumper class.

Write ( string s ) : void
WriteIndent ( ) : void
WriteLine ( ) : void
WriteObject ( object element ) : void
WriteObject ( string prefix, object element ) : void
WriteTab ( ) : void
WriteValue ( object o ) : void

Method Details

Write() public static method

Writes the specified element to the output.
public static Write ( object element ) : void
element object The element.
return void

Write() public static method

Writes the specified element.
public static Write ( object element, int depth ) : void
element object The element.
depth int The iteration level.
return void

Write() public static method

Writes the specified element.
public static Write ( object element, int depth, int maxcount ) : void
element object The element.
depth int The iteration level.
maxcount int The maximum count of dumps.
return void

Write() public static method

Writes the specified element.
public static Write ( object element, int depth, int maxcount, TextWriter log ) : void
element object The element.
depth int The iteration level.
maxcount int The maximum count of dumps.
log System.IO.TextWriter The output logger.
return void

Write() public static method

Writes the specified element.
public static Write ( string prefix, object element, int depth, int maxcount, TextWriter log ) : void
prefix string The prefix to print.
element object The element to dump.
depth int The iteration level.
maxcount int The maximum count of dumps.
log System.IO.TextWriter The output logger.
return void