C# 클래스 Catel.Reflection.TypeInfoExtensions

The type info extensions.
파일 보기 프로젝트 열기: Catel/Catel

공개 메소드들

메소드 설명
GetConstructor ( this typeInfo, Type types, BindingFlags bindingFlags ) : ConstructorInfo

Gets the constructor with the specified types.

GetConstructors ( this typeInfo, BindingFlags bindingFlags ) : System.Reflection.ConstructorInfo[]

Gets the constructors.

GetEvent ( this typeInfo, string name, BindingFlags bindingFlags ) : EventInfo

Gets the event with the specified name.

GetEvents ( this typeInfo, BindingFlags bindingFlags ) : System.Reflection.EventInfo[]

Gets the events.

GetField ( this typeInfo, string name, BindingFlags bindingFlags ) : FieldInfo

Gets the field with the specified name.

GetFields ( this typeInfo, BindingFlags bindingFlags ) : System.Reflection.FieldInfo[]

Gets the fields.

GetMember ( this typeInfo, string name, BindingFlags bindingFlags ) : System.Reflection.MemberInfo[]

Gets the member with the specified name.

GetMembers ( this typeInfo, BindingFlags bindingFlags ) : System.Reflection.MemberInfo[]

Gets the members.

GetMethod ( this typeInfo, string name, BindingFlags bindingFlags ) : MethodInfo

Gets the method with the specified name.

GetMethod ( this typeInfo, string name, Type types, BindingFlags bindingFlags ) : MethodInfo

Gets the method with the specified name and types.

GetMethods ( this typeInfo, BindingFlags bindingFlags ) : System.Reflection.MethodInfo[]

Gets the methods.

GetProperties ( this typeInfo, BindingFlags bindingFlags ) : System.Reflection.PropertyInfo[]

Gets the properties.

GetProperty ( this typeInfo, string name, BindingFlags bindingFlags ) : PropertyInfo

Gets the property with the specified name.

비공개 메소드들

메소드 설명
ShouldFlattenHierarchy ( BindingFlags bindingFlags ) : bool

Determines whether the hierarchy should be flattened based on the specified binding flags.

메소드 상세

GetConstructor() 공개 정적인 메소드

Gets the constructor with the specified types.
The is null.
public static GetConstructor ( this typeInfo, Type types, BindingFlags bindingFlags ) : ConstructorInfo
typeInfo this The .
types System.Type The types of the constructor.
bindingFlags BindingFlags The binding flags.
리턴 System.Reflection.ConstructorInfo

GetConstructors() 공개 정적인 메소드

Gets the constructors.
The is null.
public static GetConstructors ( this typeInfo, BindingFlags bindingFlags ) : System.Reflection.ConstructorInfo[]
typeInfo this The .
bindingFlags BindingFlags The binding flags.
리턴 System.Reflection.ConstructorInfo[]

GetEvent() 공개 정적인 메소드

Gets the event with the specified name.
The is null. The is null or whitespace.
public static GetEvent ( this typeInfo, string name, BindingFlags bindingFlags ) : EventInfo
typeInfo this The .
name string The name of the member to retrieve.
bindingFlags BindingFlags The binding flags.
리턴 System.Reflection.EventInfo

GetEvents() 공개 정적인 메소드

Gets the events.
The is null.
public static GetEvents ( this typeInfo, BindingFlags bindingFlags ) : System.Reflection.EventInfo[]
typeInfo this The .
bindingFlags BindingFlags The binding flags.
리턴 System.Reflection.EventInfo[]

GetField() 공개 정적인 메소드

Gets the field with the specified name.
The is null. The is null or whitespace.
public static GetField ( this typeInfo, string name, BindingFlags bindingFlags ) : FieldInfo
typeInfo this The .
name string The name of the member to retrieve.
bindingFlags BindingFlags The binding flags.
리턴 System.Reflection.FieldInfo

GetFields() 공개 정적인 메소드

Gets the fields.
The is null.
public static GetFields ( this typeInfo, BindingFlags bindingFlags ) : System.Reflection.FieldInfo[]
typeInfo this The .
bindingFlags BindingFlags The binding flags.
리턴 System.Reflection.FieldInfo[]

GetMember() 공개 정적인 메소드

Gets the member with the specified name.
The is null. The is null or whitespace.
public static GetMember ( this typeInfo, string name, BindingFlags bindingFlags ) : System.Reflection.MemberInfo[]
typeInfo this The .
name string The name of the member to retrieve.
bindingFlags BindingFlags The binding flags.
리턴 System.Reflection.MemberInfo[]

GetMembers() 공개 정적인 메소드

Gets the members.
The is null.
public static GetMembers ( this typeInfo, BindingFlags bindingFlags ) : System.Reflection.MemberInfo[]
typeInfo this The .
bindingFlags BindingFlags The binding flags.
리턴 System.Reflection.MemberInfo[]

GetMethod() 공개 정적인 메소드

Gets the method with the specified name.
The is null. The is null or whitespace.
public static GetMethod ( this typeInfo, string name, BindingFlags bindingFlags ) : MethodInfo
typeInfo this The .
name string The name of the member to retrieve.
bindingFlags BindingFlags The binding flags.
리턴 System.Reflection.MethodInfo

GetMethod() 공개 정적인 메소드

Gets the method with the specified name and types.
The is null. The is null or whitespace.
public static GetMethod ( this typeInfo, string name, Type types, BindingFlags bindingFlags ) : MethodInfo
typeInfo this The .
name string The name of the member to retrieve.
types System.Type The types of the method.
bindingFlags BindingFlags The binding flags.
리턴 System.Reflection.MethodInfo

GetMethods() 공개 정적인 메소드

Gets the methods.
The is null.
public static GetMethods ( this typeInfo, BindingFlags bindingFlags ) : System.Reflection.MethodInfo[]
typeInfo this The .
bindingFlags BindingFlags The binding flags.
리턴 System.Reflection.MethodInfo[]

GetProperties() 공개 정적인 메소드

Gets the properties.
The is null.
public static GetProperties ( this typeInfo, BindingFlags bindingFlags ) : System.Reflection.PropertyInfo[]
typeInfo this The .
bindingFlags BindingFlags The binding flags.
리턴 System.Reflection.PropertyInfo[]

GetProperty() 공개 정적인 메소드

Gets the property with the specified name.
The is null. The is null or whitespace.
public static GetProperty ( this typeInfo, string name, BindingFlags bindingFlags ) : PropertyInfo
typeInfo this The .
name string The name of the member to retrieve.
bindingFlags BindingFlags The binding flags.
리턴 System.Reflection.PropertyInfo