C# Class DataServiceProvider.TypeSystem

Helper methods for working with types and reflection.
Afficher le fichier Open project: object/NorthwindOData

Méthodes publiques

Méthode 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 méthode

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

GetIEnumerableElementType() public static méthode

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