Table of Contents

Method TypeContainsInterface

Namespace
VectorDraw.Serialize
Assembly
VectorDraw.Serialize.dll

TypeContainsInterface(Type, string)

Checks if the passed type contains the given interface.

public static bool TypeContainsInterface(Type t, string InterfaceName)

Parameters

t Type

The type of the object.

InterfaceName string

The interface to check.

Returns

bool

True if the interface is contained to the type.