C# Class ObjectPrinter.Printers.ObjectPrinter

Mostrar archivo Open project: drewburlingame/ObjectPrinter

Public Properties

Property Type Description
GetDefaultContext Func

Public Methods

Method Description
ObjectPrinter ( object obj ) : System
ObjectPrinter ( object obj, IObjectPrinterConfig config ) : System
PrintTo ( TextWriter output ) : void
PrintToString ( ) : string

Private Methods

Method Description
AppendValue ( ObjectInfo objectInfo ) : void
TryGetSingleValue ( ObjectInfo objectInfo, object &singleValue, List &members ) : bool
WriteObject ( ObjectInfo objectInfo ) : void
WriteObjectImpl ( ObjectInfo objectInfo ) : void

Method Details

ObjectPrinter() public method

public ObjectPrinter ( object obj ) : System
obj object
return System

ObjectPrinter() public method

public ObjectPrinter ( object obj, IObjectPrinterConfig config ) : System
obj object
config IObjectPrinterConfig
return System

PrintTo() public method

public PrintTo ( TextWriter output ) : void
output System.IO.TextWriter
return void

PrintToString() public method

public PrintToString ( ) : string
return string

Property Details

GetDefaultContext public_oe static_oe property

The default config to use.
public static Func GetDefaultContext
return Func