Table of Contents

Method IsGenericType

Namespace
Zyl.ExSpans.Reflection
Assembly
ExSpans.Core.dll

IsGenericType<T>()

Is generic types (是否为泛型类型).

public static bool IsGenericType<T>()

Returns

bool

true if the Type is the generic types; otherwise, false (类型是泛型类型就返回 true; 否则返回 false).

Type Parameters

T

The type (类型).

See Also

IsGenericType(Type)

Is generic types (是否为泛型类型).

public static bool IsGenericType(Type atype)

Parameters

atype Type

The type (类型).

Returns

bool

true if the Type is the generic types; otherwise, false (类型是泛型类型就返回 true; 否则返回 false).

See Also