C# Класс Dibware.StoredProcedureFramework.Extensions.TypeExtensions

provides extension methods for the System.Type
Показать файл Открыть проект

Открытые методы

Метод Описание
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