C# 클래스 RoslynDom.Common.ReflectionUtilities

파일 보기 프로젝트 열기: KathleenDollard/RoslynDOM

공개 메소드들

메소드 설명
CanGetProperty ( object instance, string propertyName ) : bool
CanSetProperty ( object instance, string propertyName ) : bool
FindMethod ( Type type, string methodName ) : MethodInfo
FindMethod ( Type type, string methodName, bool mightBePrivate ) : MethodInfo
GetPropertyValue ( object instance, string propertyName ) : object
MakeGenericMethod ( Type type, string methodName ) : MethodInfo
MakeGenericType ( Type openType ) : Type
SetPropertyValue ( object instance, string propertyName, object value ) : void

비공개 메소드들

메소드 설명
GetPropertyInfo ( object instance, string propertyName ) : PropertyInfo

메소드 상세

CanGetProperty() 공개 정적인 메소드

public static CanGetProperty ( object instance, string propertyName ) : bool
instance object
propertyName string
리턴 bool

CanSetProperty() 공개 정적인 메소드

public static CanSetProperty ( object instance, string propertyName ) : bool
instance object
propertyName string
리턴 bool

FindMethod() 공개 정적인 메소드

public static FindMethod ( Type type, string methodName ) : MethodInfo
type System.Type
methodName string
리턴 System.Reflection.MethodInfo

FindMethod() 공개 정적인 메소드

public static FindMethod ( Type type, string methodName, bool mightBePrivate ) : MethodInfo
type System.Type
methodName string
mightBePrivate bool
리턴 System.Reflection.MethodInfo

GetPropertyValue() 공개 정적인 메소드

public static GetPropertyValue ( object instance, string propertyName ) : object
instance object
propertyName string
리턴 object

MakeGenericMethod() 공개 정적인 메소드

public static MakeGenericMethod ( Type type, string methodName ) : MethodInfo
type System.Type
methodName string
리턴 System.Reflection.MethodInfo

MakeGenericType() 공개 정적인 메소드

public static MakeGenericType ( Type openType ) : Type
openType System.Type
리턴 System.Type

SetPropertyValue() 공개 정적인 메소드

public static SetPropertyValue ( object instance, string propertyName, object value ) : void
instance object
propertyName string
value object
리턴 void