Table of Contents

IPublisher<TRequest, TMarker> Interface

Definition

Namespace
Savvyio.Extensions.DependencyInjection.Messaging
Assemblies
Savvyio.Extensions.DependencyInjection.dll
Source
src/Savvyio.Extensions.DependencyInjection/Messaging/IPublisher.cs

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

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