C# Class ObjectPrinter.ObjectPrinterConfig

Configs that can be overridden for a specific Dump by the ObjectPrinter
Inheritance: IObjectPrinterConfig
Show file Open project: drewburlingame/ObjectPrinter

Public Methods

Method Description
GetInspector ( object objectToInspect, Type typeOfObjectToInspect ) : ITypeInspector

Returns the first ITypeInspector from Inspectors where ShouldInspect returns true. If none return true, the CatchAllTypeInspector is used

ObjectPrinterConfig ( ) : System

instatiates new instace of ObjectPrinterConfig using defaults from Config.Printer

Method Details

GetInspector() public method

Returns the first ITypeInspector from Inspectors where ShouldInspect returns true. If none return true, the CatchAllTypeInspector is used
public GetInspector ( object objectToInspect, Type typeOfObjectToInspect ) : ITypeInspector
objectToInspect object
typeOfObjectToInspect System.Type
return ITypeInspector

ObjectPrinterConfig() public method

instatiates new instace of ObjectPrinterConfig using defaults from Config.Printer
public ObjectPrinterConfig ( ) : System
return System