C# 클래스 DataServiceProvider.TypeSystem

Helper methods for working with types and reflection.
파일 보기 프로젝트 열기: object/NorthwindOData

공개 메소드들

메소드 설명
FindIEnumerable ( Type seqType ) : Type

Finds type that implements IEnumerable so can get elemtent type

GetIEnumerableElementType ( Type type ) : Type

Gets the elementtype for enumerable

메소드 상세

FindIEnumerable() 공개 정적인 메소드

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

GetIEnumerableElementType() 공개 정적인 메소드

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