Interface ISender<TRequest, TMarker>
- Namespace
- Savvyio.Extensions.DependencyInjection.Messaging
- Assembly
- Savvyio.Extensions.DependencyInjection.dll
Defines a generic way to support multiple implementations of a producer/sender channel used for interacting with other subsystems (out-process/inter-application) to do something (e.g., change the state).
public interface ISender<in TRequest, TMarker> : ISender<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
ISender<TRequest>
IDependencyInjectionMarker<TMarker>