C# Class JilTests.ExtensionMethods

Afficher le fichier Open project: kevin-montrose/Jil

Méthodes publiques

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

Method Details

GetConstructor() public static méthode

public static GetConstructor ( this type, BindingFlags flags, Type parameterTypes ) : ConstructorInfo
type this
flags BindingFlags
parameterTypes System.Type
Résultat System.Reflection.ConstructorInfo

GetGenericArguments() public static méthode

public static GetGenericArguments ( this type ) : System.Type[]
type this
Résultat System.Type[]

GetMethod() public static méthode

public static GetMethod ( this type, string name, BindingFlags flags, Type parameterTypes ) : MethodInfo
type this
name string
flags BindingFlags
parameterTypes System.Type
Résultat System.Reflection.MethodInfo

GetProperties() public static méthode

public static GetProperties ( this type ) : IEnumerable
type this
Résultat IEnumerable

IsAssignableFrom() public static méthode

public static IsAssignableFrom ( this a, Type b ) : bool
a this
b System.Type
Résultat bool

IsGenericType() public static méthode

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

IsValueType() public static méthode

public static IsValueType ( this type ) : bool
type this
Résultat bool