CheckInterface..::..Implements<(Of <(<'I>)>)> Method
Determines whether the specified type implements the given interface.
Namespace:
AdvantageCMS.Core.CommonAssembly: AdvantageCMS.Core (in AdvantageCMS.Core.dll)
Syntax
Type Parameters
- I
- The interface type to check against.
Parameters
- type
- Type: Type
The type to check.
- interface
- Type: I
The interface type to verify implementation of.
Return Value
true if the type implements the specified interface; otherwise, false.Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | Thrown when the provided type argument is not an interface. |

