Interface IPublisher<TRequest, TMarker>
- Namespace
- Savvyio.Extensions.DependencyInjection.Messaging
- Assembly
- Savvyio.Extensions.DependencyInjection.dll
Defines a generic way to support multiple implementations of a publisher/sender channel for interacting with other subsystems (out-process/inter-application) to be notified (e.g., made aware of something that has happened).
public interface IPublisher<in TRequest, TMarker> : IPublisher<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
IPublisher<TRequest>
IDependencyInjectionMarker<TMarker>