public static ComponentRegistration <TComponent> ListensToEvent <TComponent>( this ComponentRegistration <TComponent> registration, Type eventType, string methodName ) where TComponent : class { return(registration.ListensToEvent( eventType, typeof(TComponent).GetMethod(methodName, new[] { eventType }) )); }