Method GetTypesInAssembly
GetTypesInAssembly(Assembly, Predicate<Type>)
Search the assembly for all types that match a predicate
Declaration
public static IEnumerable<Type> GetTypesInAssembly(Assembly assembly, Predicate<Type> predicate)
Parameters
Type | Name | Description |
---|---|---|
Assembly | assembly | The assembly to search |
Predicate<Type> | predicate | The type to look for |
Returns
Type | Description |
---|---|
IEnumerable<Type> | A list of types found in the assembly that inherit from the predicate |