C# Класс JilTests.ExtensionMethods

Показать файл Открыть проект

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

Метод Описание
GetConstructor ( this type, BindingFlags flags, Type parameterTypes ) : ConstructorInfo
GetGenericArguments ( this type ) : System.Type[]
GetMethod ( this type, string name, BindingFlags flags, Type parameterTypes ) : MethodInfo
GetProperties ( this type ) : IEnumerable
IsAssignableFrom ( this a, Type b ) : bool
IsGenericType ( this type ) : bool
IsValueType ( this type ) : bool

Описание методов

GetConstructor() публичный статический Метод

public static GetConstructor ( this type, BindingFlags flags, Type parameterTypes ) : ConstructorInfo
type this
flags BindingFlags
parameterTypes System.Type
Результат System.Reflection.ConstructorInfo

GetGenericArguments() публичный статический Метод

public static GetGenericArguments ( this type ) : System.Type[]
type this
Результат System.Type[]

GetMethod() публичный статический Метод

public static GetMethod ( this type, string name, BindingFlags flags, Type parameterTypes ) : MethodInfo
type this
name string
flags BindingFlags
parameterTypes System.Type
Результат System.Reflection.MethodInfo

GetProperties() публичный статический Метод

public static GetProperties ( this type ) : IEnumerable
type this
Результат IEnumerable

IsAssignableFrom() публичный статический Метод

public static IsAssignableFrom ( this a, Type b ) : bool
a this
b System.Type
Результат bool

IsGenericType() публичный статический Метод

public static IsGenericType ( this type ) : bool
type this
Результат bool

IsValueType() публичный статический Метод

public static IsValueType ( this type ) : bool
type this
Результат bool