C# 클래스 JilTests.ExtensionMethods

파일 보기 프로젝트 열기: kevin-montrose/Jil

공개 메소드들

메소드 설명
GetConstructor ( this type, BindingFlags flags, Type parameterTypes ) : ConstructorInfo
GetGenericArguments ( this type ) : System.Type[]
GetMethod ( this type, string name, BindingFlags flags, Type parameterTypes ) : MethodInfo
GetProperties ( this type ) : IEnumerable
IsAssignableFrom ( this a, Type b ) : bool
IsGenericType ( this type ) : bool
IsValueType ( this type ) : bool

메소드 상세

GetConstructor() 공개 정적인 메소드

public static GetConstructor ( this type, BindingFlags flags, Type parameterTypes ) : ConstructorInfo
type this
flags BindingFlags
parameterTypes System.Type
리턴 System.Reflection.ConstructorInfo

GetGenericArguments() 공개 정적인 메소드

public static GetGenericArguments ( this type ) : System.Type[]
type this
리턴 System.Type[]

GetMethod() 공개 정적인 메소드

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

GetProperties() 공개 정적인 메소드

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

IsAssignableFrom() 공개 정적인 메소드

public static IsAssignableFrom ( this a, Type b ) : bool
a this
b System.Type
리턴 bool

IsGenericType() 공개 정적인 메소드

public static IsGenericType ( this type ) : bool
type this
리턴 bool

IsValueType() 공개 정적인 메소드

public static IsValueType ( this type ) : bool
type this
리턴 bool