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
typeTypeDefinition- The type to search in.
namestring- The event name.
Returns
- EventDefinition
- The first matching event or null.