C# Class System.TypeExtensionMethods

Afficher le fichier Open project: vchelaru/FlatRedBall

Méthodes publiques

Méthode Description
GetConstructor ( this type, Type types ) : ConstructorInfo
GetField ( this type, string name ) : FieldInfo
GetFields ( this type ) : IEnumerable
GetGenericArguments ( this type ) : System.Type[]
GetMember ( this type, string name ) : System.Reflection.MemberInfo[]
GetMethod ( this type, string name ) : MethodInfo
GetMethod ( this type, string name, Type parameters ) : MethodInfo
GetProperties ( this type ) : IEnumerable
GetProperty ( this type, string name ) : PropertyInfo
IsEnum ( this type ) : bool
IsPrimitive ( this type ) : bool
IsValueType ( this type ) : bool

Method Details

GetConstructor() public static méthode

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

GetField() public static méthode

public static GetField ( this type, string name ) : FieldInfo
type this
name string
Résultat System.Reflection.FieldInfo

GetFields() public static méthode

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

GetGenericArguments() public static méthode

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

GetMember() public static méthode

public static GetMember ( this type, string name ) : System.Reflection.MemberInfo[]
type this
name string
Résultat System.Reflection.MemberInfo[]

GetMethod() public static méthode

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

GetMethod() public static méthode

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

GetProperties() public static méthode

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

GetProperty() public static méthode

public static GetProperty ( this type, string name ) : PropertyInfo
type this
name string
Résultat System.Reflection.PropertyInfo

IsEnum() public static méthode

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

IsPrimitive() public static méthode

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

IsValueType() public static méthode

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