Table of Contents

Method Implements

Namespace
Xunit.Sdk
Assembly
xunit.v3.common.dll

Implements(Type, Type)

Determines if the given type implements the given interface.

public static bool Implements(this Type type, Type interfaceType)

Parameters

type Type

The type to check

interfaceType Type

The interface type to look for

Returns

bool

Returns true if the type implements the interface; false, otherwise