C# Class StatePrinting.FieldHarvesters.SanitizedFieldInfo

For each type we print, we hold the reflected and the readable version of the fields
Afficher le fichier Open project: kbilsted/StatePrinter Class Usage Examples

Méthodes publiques

Свойство Type Description
FieldInfo System.Reflection.MemberInfo
SanitizedName string
ValueProvider object>.Func

Méthodes publiques

Méthode Description
SanitizedFieldInfo ( MemberInfo fieldInfo, string sanitizedName, object>.Func valueProvider ) : System

Method Details

SanitizedFieldInfo() public méthode

public SanitizedFieldInfo ( MemberInfo fieldInfo, string sanitizedName, object>.Func valueProvider ) : System
fieldInfo System.Reflection.MemberInfo
sanitizedName string
valueProvider object>.Func
Résultat System

Property Details

FieldInfo public_oe property

public MemberInfo,System.Reflection FieldInfo
Résultat System.Reflection.MemberInfo

SanitizedName public_oe property

The sanitized name is the name the user would expect. E.g. the field 'X' has the value 'X' and the property 'Y' has the value 'Y' rather than the value '<Y>k__BackingField'.
public string SanitizedName
Résultat string

ValueProvider public_oe property

Functionality to fetch the value of the field.
public Func ValueProvider
Résultat object>.Func