C# Class DungeonMasterEngine.Helpers.ObjectDumper

显示文件 Open project: ggrrin/DungeonMaster Class Usage Examples

Public Methods

Method Description
Dump ( object element ) : string
Write ( object element ) : void
Write ( object element, int depth ) : void
Write ( object element, int depth, TextWriter log ) : 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

Dump() public static method

public static Dump ( 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