C# Class StatePrinting.FieldHarvesters.PublicFieldsAndPropertiesHarvester

Harvest only public fields and properties from types. We ignore the types from the following namespaces System.Reflection System.Runtime System.Func
Inheritance: IFieldHarvester
Mostra file Open project: kbilsted/StatePrinter

Public Methods

Method Description
CanHandleType ( Type type ) : bool
GetFields ( Type type ) : List

Harvest only public fields and properties.

Private Methods

Method Description
IsPublic ( SanitizedFieldInfo field ) : bool

Method Details

CanHandleType() public method

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

GetFields() public method

Harvest only public fields and properties.
public GetFields ( Type type ) : List
type System.Type
return List