C# Class StatePrinting.FieldHarvesters.AllFieldsAndPropertiesHarvester

Harvest all fields, public and private. We ignore the types from the following namespaces System.Reflection System.Runtime Func{TResult}
Inheritance: IFieldHarvester
Show file Open project: kbilsted/StatePrinter

Public Methods

Method 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 method

public CanHandleType ( Type type ) : bool
type System.Type
return bool

GetFields() public method

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
return List