C# 클래스 System.Reflection.TypeExtensions

파일 보기 프로젝트 열기: dotnet/corefx 1 사용 예제들

공개 메소드들

메소드 설명
GetConstructor ( this type, System types ) : System.Reflection.ConstructorInfo
GetConstructors ( this type ) : System.Reflection.ConstructorInfo[]
GetConstructors ( this type, System bindingAttr ) : System.Reflection.ConstructorInfo[]
GetDefaultMembers ( this type ) : System.Reflection.MemberInfo[]
GetEvent ( this type, string name ) : System.Reflection.EventInfo
GetEvent ( this type, string name, System bindingAttr ) : System.Reflection.EventInfo
GetEvents ( this type ) : System.Reflection.EventInfo[]
GetEvents ( this type, System bindingAttr ) : System.Reflection.EventInfo[]
GetField ( this type, string name ) : System.Reflection.FieldInfo
GetField ( this type, string name, System bindingAttr ) : System.Reflection.FieldInfo
GetFields ( this type ) : System.Reflection.FieldInfo[]
GetFields ( this type, System bindingAttr ) : System.Reflection.FieldInfo[]
GetGenericArguments ( this type ) : System.Type[]
GetInterfaces ( this type ) : System.Type[]
GetMember ( this type, string name ) : System.Reflection.MemberInfo[]
GetMember ( this type, string name, System bindingAttr ) : System.Reflection.MemberInfo[]
GetMembers ( this type ) : System.Reflection.MemberInfo[]
GetMembers ( this type, System bindingAttr ) : System.Reflection.MemberInfo[]
GetMethod ( this type, string name ) : System.Reflection.MethodInfo
GetMethod ( this type, string name, System bindingAttr ) : System.Reflection.MethodInfo
GetMethods ( this type ) : System.Reflection.MethodInfo[]
GetMethods ( this type, System bindingAttr ) : System.Reflection.MethodInfo[]
GetNestedType ( this type, string name, System bindingAttr ) : System.Type
GetNestedTypes ( this type, System bindingAttr ) : System.Type[]
GetProperties ( this type ) : System.Reflection.PropertyInfo[]
GetProperties ( this type, System bindingAttr ) : System.Reflection.PropertyInfo[]
GetProperty ( this type, string name ) : System.Reflection.PropertyInfo
GetProperty ( this type, string name, System bindingAttr ) : System.Reflection.PropertyInfo
GetProperty ( this type, string name, System returnType, System types ) : System.Reflection.PropertyInfo
IsAssignableFrom ( this type, System c ) : bool
IsInstanceOfType ( this type, object o ) : bool

메소드 상세

GetConstructor() 공개 정적인 메소드

public static GetConstructor ( this type, System types ) : System.Reflection.ConstructorInfo
type this
types System
리턴 System.Reflection.ConstructorInfo

GetConstructors() 공개 정적인 메소드

public static GetConstructors ( this type ) : System.Reflection.ConstructorInfo[]
type this
리턴 System.Reflection.ConstructorInfo[]

GetConstructors() 공개 정적인 메소드

public static GetConstructors ( this type, System bindingAttr ) : System.Reflection.ConstructorInfo[]
type this
bindingAttr System
리턴 System.Reflection.ConstructorInfo[]

GetDefaultMembers() 공개 정적인 메소드

public static GetDefaultMembers ( this type ) : System.Reflection.MemberInfo[]
type this
리턴 System.Reflection.MemberInfo[]

GetEvent() 공개 정적인 메소드

public static GetEvent ( this type, string name ) : System.Reflection.EventInfo
type this
name string
리턴 System.Reflection.EventInfo

GetEvent() 공개 정적인 메소드

public static GetEvent ( this type, string name, System bindingAttr ) : System.Reflection.EventInfo
type this
name string
bindingAttr System
리턴 System.Reflection.EventInfo

GetEvents() 공개 정적인 메소드

public static GetEvents ( this type ) : System.Reflection.EventInfo[]
type this
리턴 System.Reflection.EventInfo[]

GetEvents() 공개 정적인 메소드

public static GetEvents ( this type, System bindingAttr ) : System.Reflection.EventInfo[]
type this
bindingAttr System
리턴 System.Reflection.EventInfo[]

GetField() 공개 정적인 메소드

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

GetField() 공개 정적인 메소드

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

GetFields() 공개 정적인 메소드

public static GetFields ( this type ) : System.Reflection.FieldInfo[]
type this
리턴 System.Reflection.FieldInfo[]

GetFields() 공개 정적인 메소드

public static GetFields ( this type, System bindingAttr ) : System.Reflection.FieldInfo[]
type this
bindingAttr System
리턴 System.Reflection.FieldInfo[]

GetGenericArguments() 공개 정적인 메소드

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

GetInterfaces() 공개 정적인 메소드

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

GetMember() 공개 정적인 메소드

public static GetMember ( this type, string name ) : System.Reflection.MemberInfo[]
type this
name string
리턴 System.Reflection.MemberInfo[]

GetMember() 공개 정적인 메소드

public static GetMember ( this type, string name, System bindingAttr ) : System.Reflection.MemberInfo[]
type this
name string
bindingAttr System
리턴 System.Reflection.MemberInfo[]

GetMembers() 공개 정적인 메소드

public static GetMembers ( this type ) : System.Reflection.MemberInfo[]
type this
리턴 System.Reflection.MemberInfo[]

GetMembers() 공개 정적인 메소드

public static GetMembers ( this type, System bindingAttr ) : System.Reflection.MemberInfo[]
type this
bindingAttr System
리턴 System.Reflection.MemberInfo[]

GetMethod() 공개 정적인 메소드

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

GetMethod() 공개 정적인 메소드

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

GetMethods() 공개 정적인 메소드

public static GetMethods ( this type ) : System.Reflection.MethodInfo[]
type this
리턴 System.Reflection.MethodInfo[]

GetMethods() 공개 정적인 메소드

public static GetMethods ( this type, System bindingAttr ) : System.Reflection.MethodInfo[]
type this
bindingAttr System
리턴 System.Reflection.MethodInfo[]

GetNestedType() 공개 정적인 메소드

public static GetNestedType ( this type, string name, System bindingAttr ) : System.Type
type this
name string
bindingAttr System
리턴 System.Type

GetNestedTypes() 공개 정적인 메소드

public static GetNestedTypes ( this type, System bindingAttr ) : System.Type[]
type this
bindingAttr System
리턴 System.Type[]

GetProperties() 공개 정적인 메소드

public static GetProperties ( this type ) : System.Reflection.PropertyInfo[]
type this
리턴 System.Reflection.PropertyInfo[]

GetProperties() 공개 정적인 메소드

public static GetProperties ( this type, System bindingAttr ) : System.Reflection.PropertyInfo[]
type this
bindingAttr System
리턴 System.Reflection.PropertyInfo[]

GetProperty() 공개 정적인 메소드

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

GetProperty() 공개 정적인 메소드

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

GetProperty() 공개 정적인 메소드

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

IsAssignableFrom() 공개 정적인 메소드

public static IsAssignableFrom ( this type, System c ) : bool
type this
c System
리턴 bool

IsInstanceOfType() 공개 정적인 메소드

public static IsInstanceOfType ( this type, object o ) : bool
type this
o object
리턴 bool