C# Class DataServiceProvider.TypeSystem

Helper methods for working with types and reflection.
Mostrar archivo Open project: object/NorthwindOData

Public Methods

Method Description
FindIEnumerable ( Type seqType ) : Type

Finds type that implements IEnumerable so can get elemtent type

GetIEnumerableElementType ( Type type ) : Type

Gets the elementtype for enumerable

Method Details

FindIEnumerable() public static method

Finds type that implements IEnumerable so can get elemtent type
public static FindIEnumerable ( Type seqType ) : Type
seqType System.Type The Type to check
return System.Type

GetIEnumerableElementType() public static method

Gets the elementtype for enumerable
public static GetIEnumerableElementType ( Type type ) : Type
type System.Type The type to inspect.
return System.Type