Method IsEnum
- Namespace
- Zyl.ExSpans.Reflection
- Assembly
- ExSpans.Core.dll
IsEnum<T>()
Is enum types (是否为枚举类型).
public static bool IsEnum<T>()
Returns
- bool
true if the Type is the enum types; otherwise, false (类型是枚举类型就返回 true; 否则返回 false).
Type Parameters
T
The type (类型).
- See Also
IsEnum(Type)
Is enum types (是否为枚举类型).
public static bool IsEnum(Type atype)
Parameters
atype
TypeThe type (类型).
Returns
- bool
true if the Type is the enum types; otherwise, false (类型是枚举类型就返回 true; 否则返回 false).
- See Also