C# 클래스 StatePrinting.FieldHarvesters.SanitizedFieldInfo

For each type we print, we hold the reflected and the readable version of the fields
파일 보기 프로젝트 열기: kbilsted/StatePrinter 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
FieldInfo System.Reflection.MemberInfo
SanitizedName string
ValueProvider object>.Func

공개 메소드들

메소드 설명
SanitizedFieldInfo ( MemberInfo fieldInfo, string sanitizedName, object>.Func valueProvider ) : System

메소드 상세

SanitizedFieldInfo() 공개 메소드

public SanitizedFieldInfo ( MemberInfo fieldInfo, string sanitizedName, object>.Func valueProvider ) : System
fieldInfo System.Reflection.MemberInfo
sanitizedName string
valueProvider object>.Func
리턴 System

프로퍼티 상세

FieldInfo 공개적으로 프로퍼티

public MemberInfo,System.Reflection FieldInfo
리턴 System.Reflection.MemberInfo

SanitizedName 공개적으로 프로퍼티

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
리턴 string

ValueProvider 공개적으로 프로퍼티

Functionality to fetch the value of the field.
public Func ValueProvider
리턴 object>.Func