Method GetImplementationsOfInterface
GetImplementationsOfInterface(Type, List<Type>)
Finds all types that implement the given interface type and appends them to a list. If the input type is not an interface type, no action is taken.
Declaration
public static void GetImplementationsOfInterface(this Type type, List<Type> list)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | type | The interface type whose implementors are to be found. |
| List<Type> | list | The list to which implementors are to be appended. |