Method HasImplementedRawGeneric
|
Edit this page
View Source
HasImplementedRawGeneric(Type, Type)
Determine whether the specified type type is a subtype of the specified generic type or implements the specified generic interface.
Declaration
public static bool HasImplementedRawGeneric(this Type type, Type generic)
Parameters
| Type |
Name |
Description |
| Type |
type |
the type to be tested. |
| Type |
generic |
generic interface type, passing in typeof (IXxx<>) |
Returns
| Type |
Description |
| bool |
returns true if it is a subtype of the generic interface, or false. |