CreateFireForget Method
Definition
CreateFireForget<TRequest>(Action<IFireForgetRegistry<TRequest>>)
Creates an instance of a Fire-and-Forget/In-Only MEP activator responsible of invoking delegates that handles TRequest.
public static IFireForgetActivator<TRequest> CreateFireForget<TRequest>(Action<IFireForgetRegistry<TRequest>> handlerRegistrar)
Parameters
handlerRegistrarAction<IFireForgetRegistry<TRequest>>The delegate responsible for registering delegates of type
TRequest.
Returns
- IFireForgetActivator<TRequest>
An implementation of the IFireForgetActivator<TRequest> interface responsible of invoking delegates that handles
TRequest.
Type Parameters
TRequestThe type of the model to handle.