C# Class K.Debug.Dumper

Object Dumper. like perl Data::Dumper, php ver_dump
Mostra file Open project: ken39arg/cs-Dumper

Public Properties

Property Type Description
Indent int
MaxDepth int
Verbose bool

Public Methods

Method Description
Dump ( object d ) : string

Dump object

Dump ( object d, bool verbose ) : string

Dump object

Dump ( object d, int indent ) : string

Dump object

Dump ( object d, int indent, bool verbose, int maxDepth ) : string

Dump object

Method Details

Dump() public static method

Dump object
public static Dump ( object d ) : string
d object object data
return string

Dump() public static method

Dump object
public static Dump ( object d, bool verbose ) : string
d object object data
verbose bool Flags for adding type information
return string

Dump() public static method

Dump object
public static Dump ( object d, int indent ) : string
d object object data
indent int size of indentation
return string

Dump() public static method

Dump object
public static Dump ( object d, int indent, bool verbose, int maxDepth ) : string
d object object data
indent int size of indentation
verbose bool Flags for adding type information
maxDepth int
return string

Property Details

Indent public_oe static_oe property

size of indentation. (default: 4)
public static int Indent
return int

MaxDepth public_oe static_oe property

Can display up to a maximum depth nested objects (default: 5)
public static int MaxDepth
return int

Verbose public_oe static_oe property

Flags for adding type information (default: true)
public static bool Verbose
return bool