Method GetTypesInAssembly
GetTypesInAssembly(Assembly, Predicate<Type>)
Search the assembly for all types that match a predicate
선언
public static IEnumerable<Type> GetTypesInAssembly(Assembly assembly, Predicate<Type> predicate)
파라미터
타입 | 이름 | 설명 |
---|---|---|
Assembly | assembly | The assembly to search |
Predicate<Type> | predicate | The type to look for |
반환
타입 | 설명 |
---|---|
IEnumerable<Type> | A list of types found in the assembly that inherit from the predicate |