Method FindEventDeep
FindEventDeep(TypeDefinition, string)
Find an event for a given name recursively (including the passed type's base types).
public static EventDefinition? FindEventDeep(this TypeDefinition type, string name)
Parameters
type
TypeDefinition- The type to search in.
name
string- The event name.
Returns
- EventDefinition
- The first matching event or null.