Метод | Описание | |
---|---|---|
GetBaseTypes ( this type ) : IEnumerable |
获取当前Type继承链上的所有基类型
|
|
GetGenericTypeDefinitions ( this type ) : IEnumerable |
获取当前Type继承或实现的所有泛型类型定义
|
|
GetInterfacesTypes ( this type ) : IEnumerable |
获取当前Type实现或继承的所有接口
|
|
GetParameterTypes ( this method ) : IEnumerable |
获取指定方法或构造方法的参数类型
|
|
IsGenericTypeDefinition ( this type ) : bool |
指示当前 Type 是否是开放式构造类型的泛型定义。
|
public static GetBaseTypes ( this type ) : IEnumerable |
||
type | this | 当前的Type对象 |
Результат | IEnumerable |
public static GetGenericTypeDefinitions ( this type ) : IEnumerable |
||
type | this | |
Результат | IEnumerable |
public static GetInterfacesTypes ( this type ) : IEnumerable |
||
type | this | 当前的Type对象 |
Результат | IEnumerable |
public static GetParameterTypes ( this method ) : IEnumerable |
||
method | this | |
Результат | IEnumerable |
public static IsGenericTypeDefinition ( this type ) : bool | ||
type | this | 当前的Type对象 |
Результат | bool |