Enhanced the Mediator.ProcessQueryWithHandler and Mediator.ProcessQueryWithHandlerAsync methods so they perform a more specific method search against the resolved handler. This is accomplished by providing parameter criteria using the IQuery type provided as part of the method call. Doing so allows us to find the correct Handle method when the target implements two or more handler interfaces. Otherwise, we would receive an AmbiguousMatchException.
Enhanced the Mediator.ProcessQueryWithHandler and Mediator.ProcessQueryWithHandlerAsync methods so they perform a more specific method search against the resolved handler. This is accomplished by providing parameter criteria using the IQuery type provided as part of the method call. Doing so allows us to find the correct Handle method when the target implements two or more handler interfaces. Otherwise, we would receive an AmbiguousMatchException.