C# 클래스 Antlr4.StringTemplate.Extensions.TypeExtensions

파일 보기 프로젝트 열기: antlr/antlrcs

공개 메소드들

메소드 설명
GetField ( this type, string name ) : FieldInfo
GetMethod ( this type, string name, Type parameters ) : MethodInfo
GetProperties ( this type ) : IEnumerable
GetProperty ( this type, string name ) : PropertyInfo
IsAssignableFrom ( this type, Type otherType ) : bool

메소드 상세

GetField() 공개 정적인 메소드

public static GetField ( this type, string name ) : FieldInfo
type this
name string
리턴 System.Reflection.FieldInfo

GetMethod() 공개 정적인 메소드

public static GetMethod ( this type, string name, Type parameters ) : MethodInfo
type this
name string
parameters System.Type
리턴 System.Reflection.MethodInfo

GetProperties() 공개 정적인 메소드

public static GetProperties ( this type ) : IEnumerable
type this
리턴 IEnumerable

GetProperty() 공개 정적인 메소드

public static GetProperty ( this type, string name ) : PropertyInfo
type this
name string
리턴 System.Reflection.PropertyInfo

IsAssignableFrom() 공개 정적인 메소드

public static IsAssignableFrom ( this type, Type otherType ) : bool
type this
otherType System.Type
리턴 bool