Method GetGenericInterfaces
GetGenericInterfaces(Type, Type, List<Type>)
Searches through all interfaces implemented by this type and, if any of them match the given generic interface, appends them to a list.
Declaration
public static void GetGenericInterfaces(this Type type, Type genericInterface, List<Type> interfaces)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | type | The type whose interfaces will be searched. |
| Type | genericInterface | The generic interface used to match implemented interfaces. |
| List<Type> | interfaces | The list to which generic interfaces will be appended. |