CreateRequestReply Method
Definition
CreateRequestReply<TRequest>(Action<IRequestReplyRegistry<TRequest>>)
Creates an instance of a Request-Reply/In-Out MEP activator responsible of invoking delegates that handles TRequest.
public static IRequestReplyActivator<TRequest> CreateRequestReply<TRequest>(Action<IRequestReplyRegistry<TRequest>> handlerRegistrar)
Parameters
handlerRegistrarAction<IRequestReplyRegistry<TRequest>>The delegate responsible for registering delegates of type
TRequest.
Returns
- IRequestReplyActivator<TRequest>
An implementation of the IRequestReplyActivator<TRequest> interface responsible of invoking delegates that handles
TRequest.
Type Parameters
TRequestThe type of the model to handle.