IInterfaceCapableType.Implements Method

Namespace
Kampute.DocToolkit.Metadata
Assembly
  • Kampute.DocToolkit.dll

Definition

Determines whether the current type implements the specified interface.
bool Implements(IInterfaceType interfaceType)
This method has a default implementation in the interface.

Parameters

interfaceType IInterfaceType
The interface type to check for implementation.

Returns

bool
true if the current type implements the specified interface; otherwise, false.

Exceptions

ArgumentNullException
Thrown when interfaceType is null.