C# Class SData.Internal.ReflectionExtensions

Exibir arquivo Open project: knat/SData

Public Methods

Method Description
GetField ( TypeInfo ti, string name ) : FieldInfo
GetFieldInHierarchy ( TypeInfo ti, string name ) : FieldInfo
GetMethod ( TypeInfo ti, string name ) : MethodInfo
GetMethodInHierarchy ( TypeInfo ti, string name ) : MethodInfo
GetParameterlessConstructor ( TypeInfo ti ) : ConstructorInfo
GetProperty ( TypeInfo ti, string name ) : PropertyInfo
GetPropertyInHierarchy ( TypeInfo ti, string name ) : PropertyInfo
TryGetFieldInHierarchy ( TypeInfo ti, string name ) : FieldInfo
TryGetMethodInHierarchy ( TypeInfo ti, string name ) : MethodInfo
TryGetParameterlessConstructor ( TypeInfo ti ) : ConstructorInfo
TryGetPropertyInHierarchy ( TypeInfo ti, string name ) : PropertyInfo

Method Details

GetField() public static method

public static GetField ( TypeInfo ti, string name ) : FieldInfo
ti System.Reflection.TypeInfo
name string
return System.Reflection.FieldInfo

GetFieldInHierarchy() public static method

public static GetFieldInHierarchy ( TypeInfo ti, string name ) : FieldInfo
ti System.Reflection.TypeInfo
name string
return System.Reflection.FieldInfo

GetMethod() public static method

public static GetMethod ( TypeInfo ti, string name ) : MethodInfo
ti System.Reflection.TypeInfo
name string
return System.Reflection.MethodInfo

GetMethodInHierarchy() public static method

public static GetMethodInHierarchy ( TypeInfo ti, string name ) : MethodInfo
ti System.Reflection.TypeInfo
name string
return System.Reflection.MethodInfo

GetParameterlessConstructor() public static method

public static GetParameterlessConstructor ( TypeInfo ti ) : ConstructorInfo
ti System.Reflection.TypeInfo
return System.Reflection.ConstructorInfo

GetProperty() public static method

public static GetProperty ( TypeInfo ti, string name ) : PropertyInfo
ti System.Reflection.TypeInfo
name string
return System.Reflection.PropertyInfo

GetPropertyInHierarchy() public static method

public static GetPropertyInHierarchy ( TypeInfo ti, string name ) : PropertyInfo
ti System.Reflection.TypeInfo
name string
return System.Reflection.PropertyInfo

TryGetFieldInHierarchy() public static method

public static TryGetFieldInHierarchy ( TypeInfo ti, string name ) : FieldInfo
ti System.Reflection.TypeInfo
name string
return System.Reflection.FieldInfo

TryGetMethodInHierarchy() public static method

public static TryGetMethodInHierarchy ( TypeInfo ti, string name ) : MethodInfo
ti System.Reflection.TypeInfo
name string
return System.Reflection.MethodInfo

TryGetParameterlessConstructor() public static method

public static TryGetParameterlessConstructor ( TypeInfo ti ) : ConstructorInfo
ti System.Reflection.TypeInfo
return System.Reflection.ConstructorInfo

TryGetPropertyInHierarchy() public static method

public static TryGetPropertyInHierarchy ( TypeInfo ti, string name ) : PropertyInfo
ti System.Reflection.TypeInfo
name string
return System.Reflection.PropertyInfo