| ExtensionsReflectionImplementsInterfaceT Method (Type) |
Checks if the type has implemented the defined interface
Namespace:
Cauldron
Assembly:
Cauldron.Activator (in Cauldron.Activator.dll) Version: 3.2.0.2
Syntax public static bool ImplementsInterface<T>(
this Type type
)
Parameters
- type
- Type: SystemType
The type that may implements the interface T
Type Parameters
- T
- The type of interface to look for
Return Value
Type:
Boolean
True if the
type has implemented the interface
TUsage 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).
Exceptions See Also