C# 클래스 Dibware.StoredProcedureFramework.Extensions.TypeExtensions

provides extension methods for the System.Type
파일 보기 프로젝트 열기: dibley1973/StoredProcedureFramework

공개 메소드들

메소드 설명
GetGeneGetGenricArgumentCount ( this instance ) : int
GetMappedProperties ( this instance ) : System.Reflection.PropertyInfo[]

Get properties of a type that do not have the 'NotMapped' attribute

ImplementsICollectionInterface ( this instance ) : bool

Gets a value indicating if the instance implementses the ICollection interface.

IsDynamicType ( this instance ) : bool
IsGenericType ( this instance ) : bool
IsGenericTypeWithFirstDynamicTypeArgument ( this instance ) : bool

메소드 상세

GetGeneGetGenricArgumentCount() 공개 정적인 메소드

public static GetGeneGetGenricArgumentCount ( this instance ) : int
instance this
리턴 int

GetMappedProperties() 공개 정적인 메소드

Get properties of a type that do not have the 'NotMapped' attribute
public static GetMappedProperties ( this instance ) : System.Reflection.PropertyInfo[]
instance this Type to examine for properites
리턴 System.Reflection.PropertyInfo[]

ImplementsICollectionInterface() 공개 정적인 메소드

Gets a value indicating if the instance implementses the ICollection interface.
instance
public static ImplementsICollectionInterface ( this instance ) : bool
instance this The instance.
리턴 bool

IsDynamicType() 공개 정적인 메소드

public static IsDynamicType ( this instance ) : bool
instance this
리턴 bool

IsGenericType() 공개 정적인 메소드

public static IsGenericType ( this instance ) : bool
instance this
리턴 bool

IsGenericTypeWithFirstDynamicTypeArgument() 공개 정적인 메소드

public static IsGenericTypeWithFirstDynamicTypeArgument ( this instance ) : bool
instance this
리턴 bool