Modify RegisterCommandHandlerAttributes/RegisterEventHandlerAttributes extension methods
joel-jeremy opened this issue · comments
Modify RegisterCommandHandlerAttributes/RegisterEventHandlerAttributes extension methods to check if the passed-in factory delegate does return an instance, and use the actual type of the instance in looking for CommandHandlerAttribute and EventHandlerAttribute instead of the method's generic type parameter.