Method FindType
FindType(Func<Type, bool>)
Search all assemblies for a type that matches a given predicate delegate.
Declaration
public static Type FindType(Func<Type, bool> predicate)
Parameters
| Type | Name | Description |
|---|---|---|
| Func<Type, bool> | predicate | The predicate function. Must return true for the type that matches the search. |
Returns
| Type | Description |
|---|---|
| Type | The first type for which |