ReflectionUtils.IsInterface method

Version 1.1.28
.NET Framework 4.8
Namespace Skybrud.Essentials.Reflection
Assembly Skybrud.Essentials.dll

IsInterface<T>()

Static

Returns whether T is an interface type.

public static bool IsInterface<T>()

Type Parameters

T

The type to check.

Returns

true if T is an interface type; otherwise false.

IsInterface(Type)

Static

Returns whether the specified type is an interface type.

public static bool IsInterface(Type type)

Parameters

type Type

The type to check.

Returns

true if type is an interface type; otherwise false.