Interface IReceiver<TRequest, TMarker>
- Namespace
- Savvyio.Extensions.DependencyInjection.Messaging
- Assembly
- Savvyio.Extensions.DependencyInjection.dll
Defines a generic way to support multiple implementations of a consumer/receiver channel used by subsystems to receive a command and perform one or more actions (e.g., change the state).
public interface IReceiver<TRequest, TMarker> : IReceiver<TRequest>, IDependencyInjectionMarker<TMarker> where TRequest : IRequest
Type Parameters
TRequestThe type of the model to invoke on a handler.
TMarkerThe type used to mark the implementation that this channel represents. Optimized for Microsoft Dependency Injection.
- Inherited Members
See Also
IReceiver<TRequest>
IDependencyInjectionMarker<TMarker>