Table of Contents

Interface ISubscriber<TRequest, TMarker>

Namespace
Savvyio.Extensions.DependencyInjection.Messaging
Assembly
Savvyio.Extensions.DependencyInjection.dll

Defines a generic way to support multiple implementations of a subscriber/receiver channel used by subsystems to subscribe to messages (typically events) to be made aware of something that has happened.

public interface ISubscriber<out TRequest, TMarker> : ISubscriber<TRequest>, IDependencyInjectionMarker<TMarker> where TRequest : IRequest

Type Parameters

TRequest

The type of the model to invoke on a handler.

TMarker

The type used to mark the implementation that this channel represents. Optimized for Microsoft Dependency Injection.

Inherited Members

See Also