C# Class IQ.TypeHelper

Type related helper methods
ファイルを表示 Open project: maravillas/linq-to-delicious

Public Methods

Method Description
FindIEnumerable ( Type seqType ) : Type
GetElementType ( Type seqType ) : Type
GetMemberType ( MemberInfo mi ) : Type
GetNonNullableType ( Type type ) : Type
GetSequenceType ( Type elementType ) : Type
IsNullAssignable ( Type type ) : bool
IsNullableType ( Type type ) : bool

Method Details

FindIEnumerable() public static method

public static FindIEnumerable ( Type seqType ) : Type
seqType System.Type
return System.Type

GetElementType() public static method

public static GetElementType ( Type seqType ) : Type
seqType System.Type
return System.Type

GetMemberType() public static method

public static GetMemberType ( MemberInfo mi ) : Type
mi System.Reflection.MemberInfo
return System.Type

GetNonNullableType() public static method

public static GetNonNullableType ( Type type ) : Type
type System.Type
return System.Type

GetSequenceType() public static method

public static GetSequenceType ( Type elementType ) : Type
elementType System.Type
return System.Type

IsNullAssignable() public static method

public static IsNullAssignable ( Type type ) : bool
type System.Type
return bool

IsNullableType() public static method

public static IsNullableType ( Type type ) : bool
type System.Type
return bool