C# Class ObjectPrinter.TypeInspectors.DictionaryTypeInspector

inspects each entry as kev/value pair, where the key is ToString'd as the property name and the value is inspected as any other value would be. we welcome pull requests that will be more expressive when the key is not cleanly converted to a string.
Inheritance: ITypeInspector
Mostrar archivo Open project: drewburlingame/ObjectPrinter

Public Methods

Method Description
DictionaryTypeInspector ( ) : System
GetMemberList ( object objectToInspect, Type typeOfObjectToInspect ) : IEnumerable

ShouldInspect ( object objectToInspect, Type typeOfObjectToInspect ) : bool

Method Details

DictionaryTypeInspector() public method

public DictionaryTypeInspector ( ) : System
return System

GetMemberList() public method

public GetMemberList ( object objectToInspect, Type typeOfObjectToInspect ) : IEnumerable
objectToInspect object
typeOfObjectToInspect System.Type
return IEnumerable

ShouldInspect() public method

public ShouldInspect ( object objectToInspect, Type typeOfObjectToInspect ) : bool
objectToInspect object
typeOfObjectToInspect System.Type
return bool