C# 클래스 SimpleAuth.ReflectionExtensions

파일 보기 프로젝트 열기: Clancey/SimpleAuth

공개 메소드들

메소드 설명
GetAddMethod ( this eventInfo, bool nonPublic = false ) : MethodInfo
GetConstructors ( this type ) : IEnumerable
GetConstructors ( this type, BindingFlags flags ) : IEnumerable
GetCustomAttributes ( this type, Type attributeType, bool inherit ) : System.Attribute[]
GetCustomAttributes ( this member, bool inherit ) : System.Attribute[]
GetEvent ( this type, string name ) : EventInfo
GetField ( this type, string name ) : FieldInfo
GetField ( this type, string name, BindingFlags flags ) : FieldInfo
GetFields ( this type ) : IEnumerable
GetFields ( this type, BindingFlags flags ) : IEnumerable
GetGenericArguments ( this type ) : System.Type[]
GetGetMethod ( this property, bool nonPublic = false ) : MethodInfo
GetInterfaces ( this type ) : IEnumerable
GetMethod ( this type, string name ) : MethodInfo
GetMethod ( this type, string name, BindingFlags flags ) : MethodInfo
GetMethods ( this type ) : IEnumerable
GetMethods ( this type, BindingFlags flags ) : IEnumerable
GetProperties ( this type ) : IEnumerable
GetProperties ( this type, BindingFlags flags ) : IEnumerable
GetProperty ( this type, string name ) : PropertyInfo
GetProperty ( this type, string name, BindingFlags flags ) : PropertyInfo
GetRemoveMethod ( this eventInfo, bool nonPublic = false ) : MethodInfo
GetSetMethod ( this property, bool nonPublic = false ) : MethodInfo
GetTypes ( this assembly ) : IEnumerable
IsAssignableFrom ( this type, Type otherType ) : bool
IsInstanceOfType ( this type, object obj ) : bool

메소드 상세

GetAddMethod() 공개 정적인 메소드

public static GetAddMethod ( this eventInfo, bool nonPublic = false ) : MethodInfo
eventInfo this
nonPublic bool
리턴 System.Reflection.MethodInfo

GetConstructors() 공개 정적인 메소드

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

GetConstructors() 공개 정적인 메소드

public static GetConstructors ( this type, BindingFlags flags ) : IEnumerable
type this
flags BindingFlags
리턴 IEnumerable

GetCustomAttributes() 공개 정적인 메소드

public static GetCustomAttributes ( this type, Type attributeType, bool inherit ) : System.Attribute[]
type this
attributeType System.Type
inherit bool
리턴 System.Attribute[]

GetCustomAttributes() 공개 정적인 메소드

public static GetCustomAttributes ( this member, bool inherit ) : System.Attribute[]
member this
inherit bool
리턴 System.Attribute[]

GetEvent() 공개 정적인 메소드

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

GetField() 공개 정적인 메소드

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

GetField() 공개 정적인 메소드

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

GetFields() 공개 정적인 메소드

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

GetFields() 공개 정적인 메소드

public static GetFields ( this type, BindingFlags flags ) : IEnumerable
type this
flags BindingFlags
리턴 IEnumerable

GetGenericArguments() 공개 정적인 메소드

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

GetGetMethod() 공개 정적인 메소드

public static GetGetMethod ( this property, bool nonPublic = false ) : MethodInfo
property this
nonPublic bool
리턴 System.Reflection.MethodInfo

GetInterfaces() 공개 정적인 메소드

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

GetMethod() 공개 정적인 메소드

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

GetMethod() 공개 정적인 메소드

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

GetMethods() 공개 정적인 메소드

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

GetMethods() 공개 정적인 메소드

public static GetMethods ( this type, BindingFlags flags ) : IEnumerable
type this
flags BindingFlags
리턴 IEnumerable

GetProperties() 공개 정적인 메소드

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

GetProperties() 공개 정적인 메소드

public static GetProperties ( this type, BindingFlags flags ) : IEnumerable
type this
flags BindingFlags
리턴 IEnumerable

GetProperty() 공개 정적인 메소드

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

GetProperty() 공개 정적인 메소드

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

GetRemoveMethod() 공개 정적인 메소드

public static GetRemoveMethod ( this eventInfo, bool nonPublic = false ) : MethodInfo
eventInfo this
nonPublic bool
리턴 System.Reflection.MethodInfo

GetSetMethod() 공개 정적인 메소드

public static GetSetMethod ( this property, bool nonPublic = false ) : MethodInfo
property this
nonPublic bool
리턴 System.Reflection.MethodInfo

GetTypes() 공개 정적인 메소드

public static GetTypes ( this assembly ) : IEnumerable
assembly this
리턴 IEnumerable

IsAssignableFrom() 공개 정적인 메소드

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

IsInstanceOfType() 공개 정적인 메소드

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