Namespace Mediarion
Classes
- GeneratedMediatorAttribute
Marks a partial class for the generator to implement IMediator on.
- MediarionException
Something went wrong that is the mediator's business rather than a handler's.
- MediarionServiceConfiguration
What to register, and how.
- Mediator
Sends requests to their handler and publishes notifications to theirs.
- NotificationHandler<TNotification>
A notification handler with nothing to await.
- SenderExtensions
Streaming, reached through the sender the application already has.
- ServiceCollectionExtensions
Registers Mediarion with the container.
- StreamingMediator
A mediator that can stream as well as send and publish.
- StreamingServiceCollectionExtensions
Registers streaming with the container.
Structs
- Unit
The absence of a response, as a value.
Interfaces
- IBaseRequest
The thing every request has in common, whatever it answers with.
- IMediator
Both halves of the mediator: sending requests and publishing notifications.
- INotification
A message with any number of handlers, and no answer.
- INotificationHandler<TNotification>
Handles a notification. Any number of these may exist for one notification.
- INotificationPublisher
Decides how the handlers of one notification are run.
- IPipelineBehavior<TRequest, TResponse>
Wraps the handling of a request: logging, validation, a transaction, a retry.
- IPublisher
Publishes a notification to every handler that takes it.
- IRequest
A message with one handler and nothing to give back.
- IRequestHandler<TRequest>
Handles one request that has nothing to give back.
- IRequestHandler<TRequest, TResponse>
Handles one request and answers with
TResponse.
- IRequest<TResponse>
A message with one handler that answers with
TResponse.
- ISender
Sends a request to the one handler that answers it.
- IStreamPipelineBehavior<TRequest, TResponse>
Wraps the handling of a streaming request.
- IStreamRequestHandler<TRequest, TResponse>
Handles one streaming request.
- IStreamRequest<TResponse>
A message whose handler answers with many values, arriving as they are produced.
- IStreamSender
Sends a streaming request to the one handler that answers it.
Enums
- RequestExceptionActionProcessorStrategy
When the exception actions run.
Delegates
- NotificationHandlerExecutor
One handler of a notification, ready to be called.
- RequestHandlerDelegate<TResponse>
The rest of the pipeline, as something a behaviour can call.
- StreamHandlerDelegate<TResponse>
The rest of the stream pipeline, as something a behaviour can call.