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
Afficher le fichier Open project: drewburlingame/ObjectPrinter

Méthodes publiques

Méthode Description
DictionaryTypeInspector ( ) : System
GetMemberList ( object objectToInspect, Type typeOfObjectToInspect ) : IEnumerable

ShouldInspect ( object objectToInspect, Type typeOfObjectToInspect ) : bool

Method Details

DictionaryTypeInspector() public méthode

public DictionaryTypeInspector ( ) : System
Résultat System

GetMemberList() public méthode

public GetMemberList ( object objectToInspect, Type typeOfObjectToInspect ) : IEnumerable
objectToInspect object
typeOfObjectToInspect System.Type
Résultat IEnumerable

ShouldInspect() public méthode

public ShouldInspect ( object objectToInspect, Type typeOfObjectToInspect ) : bool
objectToInspect object
typeOfObjectToInspect System.Type
Résultat bool