C# Class Dibware.StoredProcedureFramework.Extensions.TypeExtensions

provides extension methods for the System.Type
Afficher le fichier Open project: dibley1973/StoredProcedureFramework

Méthodes publiques

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

Method Details

GetGeneGetGenricArgumentCount() public static méthode

public static GetGeneGetGenricArgumentCount ( this instance ) : int
instance this
Résultat int

GetMappedProperties() public static méthode

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
Résultat System.Reflection.PropertyInfo[]

ImplementsICollectionInterface() public static méthode

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

IsDynamicType() public static méthode

public static IsDynamicType ( this instance ) : bool
instance this
Résultat bool

IsGenericType() public static méthode

public static IsGenericType ( this instance ) : bool
instance this
Résultat bool

IsGenericTypeWithFirstDynamicTypeArgument() public static méthode

public static IsGenericTypeWithFirstDynamicTypeArgument ( this instance ) : bool
instance this
Résultat bool