Class TypeHelper
- Namespace
- Zyl.ExSpans.Reflection
- Assembly
- ExSpans.Core.dll
Type Helper.
public static class TypeHelper
- Inheritance
-
TypeHelper
- Inherited Members
Methods
- GetBaseName(Type)
Get the base name of the type (取得类型的基本名).
- GetBaseName<T>()
Get the base name of the type (取得类型的基本名).
- GetFullBaseName(Type)
Get the namespace and base name of the type (取得类型的名称空间与基本名).
- GetFullBaseName<T>()
Get the namespace and base name of the type (取得类型的名称空间与基本名).
- IsBitwiseEquatable<T>()
Is BitwiseEquatable types (是按位相等的类型)
- IsBlittable<T>()
Is blittable types (是可直接按位复制的类型)
- IsEnum(Type)
Is enum types (是否为枚举类型).
- IsEnum<T>()
Is enum types (是否为枚举类型).
- IsGenericType(Type)
Is generic types (是否为泛型类型).
- IsGenericType<T>()
Is generic types (是否为泛型类型).
- IsPrimitive(Type)
Is primitive types (是否为基元类型).
- IsPrimitive<T>()
Is primitive types (是否为基元类型).
- IsReferenceOrContainsReferences<T>()
Returns a value that indicates whether the specified type is a reference type or a value type that contains references or by-refs (返回一个值,该值指示指定的类型是引用类型还是包含引用或 by-refs 的值类型).
- IsValueType(Type)
Is value types (是否为值类型).
- IsValueType<T>()
Is value types (是否为值类型).