C# Class YamlDotNet.ReflectionExtensions

Afficher le fichier Open project: aaubry/YamlDotNet

Méthodes publiques

Méthode Description
BaseType ( this type ) : Type
GetGenericArguments ( this type ) : System.Type[]
GetGetMethod ( this property ) : MethodInfo
GetInterfaces ( this type ) : IEnumerable
GetPublicInstanceMethod ( this type, string name ) : MethodInfo
GetPublicProperties ( this type ) : IEnumerable
GetPublicProperty ( this type, string name ) : PropertyInfo
GetPublicStaticMethod ( this type, string name ) : MethodInfo
GetPublicStaticMethods ( this type ) : IEnumerable
GetSetMethod ( this property ) : MethodInfo
GetTypeCode ( this type ) : TypeCode
HasDefaultConstructor ( this type ) : bool

Determines whether the specified type has a default constructor.

IsAssignableFrom ( this type, Type source ) : bool
IsAssignableFrom ( this type, TypeInfo source ) : bool
IsEnum ( this type ) : bool
IsGenericType ( this type ) : bool
IsInstanceOf ( this type, object o ) : bool
IsInterface ( this type ) : bool
IsValueType ( this type ) : bool
Unwrap ( this ex ) : Exception

Method Details

BaseType() public static méthode

public static BaseType ( this type ) : Type
type this
Résultat System.Type

GetGenericArguments() public static méthode

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

GetGetMethod() public static méthode

public static GetGetMethod ( this property ) : MethodInfo
property this
Résultat System.Reflection.MethodInfo

GetInterfaces() public static méthode

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

GetPublicInstanceMethod() public static méthode

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

GetPublicProperties() public static méthode

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

GetPublicProperty() public static méthode

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

GetPublicStaticMethod() public static méthode

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

GetPublicStaticMethods() public static méthode

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

GetSetMethod() public static méthode

public static GetSetMethod ( this property ) : MethodInfo
property this
Résultat System.Reflection.MethodInfo

GetTypeCode() public static méthode

public static GetTypeCode ( this type ) : TypeCode
type this
Résultat TypeCode

HasDefaultConstructor() public static méthode

Determines whether the specified type has a default constructor.
public static HasDefaultConstructor ( this type ) : bool
type this The type.
Résultat bool

IsAssignableFrom() public static méthode

public static IsAssignableFrom ( this type, Type source ) : bool
type this
source System.Type
Résultat bool

IsAssignableFrom() public static méthode

public static IsAssignableFrom ( this type, TypeInfo source ) : bool
type this
source System.Reflection.TypeInfo
Résultat bool

IsEnum() public static méthode

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

IsGenericType() public static méthode

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

IsInstanceOf() public static méthode

public static IsInstanceOf ( this type, object o ) : bool
type this
o object
Résultat bool

IsInterface() public static méthode

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

IsValueType() public static méthode

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

Unwrap() public static méthode

public static Unwrap ( this ex ) : Exception
ex this
Résultat System.Exception