C# Class StatePrinting.FieldHarvesters.PublicFieldsHarvester

Harvest only public fields from types. We ignore the types from the following namespaces System.Reflection System.Runtime System.Func
Inheritance: IFieldHarvester
Afficher le fichier Open project: kbilsted/StatePrinter Class Usage Examples

Méthodes publiques

Méthode Description
CanHandleType ( Type type ) : bool
GetFields ( Type type ) : List

We ignore all properties as they, in the end, will only point to some computed state or other fields. Hence they do not provide information about the actual state of the object.

Method Details

CanHandleType() public méthode

public CanHandleType ( Type type ) : bool
type System.Type
Résultat bool

GetFields() public méthode

We ignore all properties as they, in the end, will only point to some computed state or other fields. Hence they do not provide information about the actual state of the object.
public GetFields ( Type type ) : List
type System.Type
Résultat List