C# Класс YamlDotNet.ReflectionExtensions

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

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

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

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

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

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

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

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

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

public static GetGetMethod ( this property ) : MethodInfo
property this
Результат System.Reflection.MethodInfo

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

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

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

public static GetPublicInstanceMethod ( this type, string name ) : MethodInfo
type this
name string
Результат System.Reflection.MethodInfo

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

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

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

public static GetPublicProperty ( this type, string name ) : PropertyInfo
type this
name string
Результат System.Reflection.PropertyInfo

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

public static GetPublicStaticMethod ( this type, string name ) : MethodInfo
type this
name string
Результат System.Reflection.MethodInfo

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

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

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

public static GetSetMethod ( this property ) : MethodInfo
property this
Результат System.Reflection.MethodInfo

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

public static GetTypeCode ( this type ) : TypeCode
type this
Результат TypeCode

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

Determines whether the specified type has a default constructor.
public static HasDefaultConstructor ( this type ) : bool
type this The type.
Результат bool

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

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

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

public static IsAssignableFrom ( this type, TypeInfo source ) : bool
type this
source System.Reflection.TypeInfo
Результат bool

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

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

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

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

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

public static IsInstanceOf ( this type, object o ) : bool
type this
o object
Результат bool

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

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

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

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

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

public static Unwrap ( this ex ) : Exception
ex this
Результат System.Exception