TypeUtilIsImplementationOf Method |
Determine if the type implements the specified interface. If a generic interface is specified, and
it's not the generic type definition of the interface, then the type arguments are also compared.
Namespace:
Nova.Utilities
Assembly:
Nova.CodeDOM (in Nova.CodeDOM.dll) Version: 7.44.8391.13415
Syntax public static bool IsImplementationOf(
this Type thisType,
Type interfaceType
)
Parameters
- thisType
- Type: SystemType
- interfaceType
- Type: SystemType
Return Value
Type:
BooleanUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Type. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also