Table of Contents

ISender<TRequest, TMarker> Interface

Definition

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

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

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

ISender<TRequest>
IDependencyInjectionMarker<TMarker>