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