C# Класс System.TypeExtensionMethods

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

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

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

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

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

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

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

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

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

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

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

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

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

public static GetMember ( this type, string name ) : System.Reflection.MemberInfo[]
type this
name string
Результат System.Reflection.MemberInfo[]

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

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

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

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

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

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

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

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

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

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

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

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

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

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