C# Class ExpressionToCodeLib.Internal.ReflectionHelpers

ファイルを表示 Open project: EamonNerbonne/ExpressionToCode

Public Methods

Method Description
CanImplicitlyCast ( Type from, Type to ) : bool
GetPropertyIfGetter ( MethodInfo mi ) : PropertyInfo
GuessTypeClass ( this type ) : TypeClass
HasBuiltinConversion ( Type from, Type to ) : bool
IsMemberInfoStatic ( MemberInfo mi ) : bool

Method Details

CanImplicitlyCast() public static method

public static CanImplicitlyCast ( Type from, Type to ) : bool
from System.Type
to System.Type
return bool

GetPropertyIfGetter() public static method

public static GetPropertyIfGetter ( MethodInfo mi ) : PropertyInfo
mi System.Reflection.MethodInfo
return System.Reflection.PropertyInfo

GuessTypeClass() public static method

public static GuessTypeClass ( this type ) : TypeClass
type this
return TypeClass

HasBuiltinConversion() public static method

public static HasBuiltinConversion ( Type from, Type to ) : bool
from System.Type
to System.Type
return bool

IsMemberInfoStatic() public static method

public static IsMemberInfoStatic ( MemberInfo mi ) : bool
mi System.Reflection.MemberInfo
return bool