Class EventHandlerMethods
Extension methods for working with event handler methods.
public static class EventHandlerMethods
- Inheritance
-
EventHandlerMethods
- Inherited Members
Methods
IsEventHandlerMethod(MethodInfo, IEnumerable<Type>)
Check if a MethodInfo is an event handler method.
public static bool IsEventHandlerMethod(this MethodInfo methodInfo, IEnumerable<Type> eventTypes)
Parameters
methodInfoMethodInfoMethodInfo to check.
eventTypesIEnumerable<Type>Known event types in the process.
Returns
- bool
True if it is, false if not.