Table of Contents

Class EventHandlerMethods

Namespace
Cratis.Chronicle.Reactors
Assembly
Cratis.Chronicle.dll

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

methodInfo MethodInfo

MethodInfo to check.

eventTypes IEnumerable<Type>

Known event types in the process.

Returns

bool

True if it is, false if not.