Namespace Whipstaff.MediatR
Classes
- MediatrHelpers
Helper methods for registration mediatr without using reflection.
- NotificationHandlerRegistrationHandler<TImplementationType, TNotification>
Registers a concrete type for MediatR notifications.
- RequestHandlerRegistrationHandler<TImplementationType, TRequest, TResponse>
Registers a concrete type for handling Mediatr requests.
- RequestPostProcessorRegistrationHandler<TImplementationType, TRequest, TResponse>
Registers a concrete type for MediatR post processors.
- RequestPreProcessorRegistrationHandler<TImplementationType, TRequest>
Registers a concrete type for MediatR pre processors.
Interfaces
- IAuditableCommandFactory<TAddCommand, TAddRequestDto, TAddResponseDto, TDeleteCommand, TDeleteResponseDto, TUpdateCommand, TUpdateRequestDto, TUpdateResponseDto>
Represents a command factory for auditable Requests. The command is the message that will be pumped into the CQRS architecture, it is not running any logic itself.
- IAuditableQueryFactory<TListQuery, TListRequestDto, TListResponse, TViewQuery, TViewResponse>
Represents a query factory for Auditable Requests. The command is the message that will be pumped into the CQRS architecture, it is not running any logic itself. The reason for having a factory is so you can push this into the controller without it having any knowledge of how the commands generate or operate.
- IAuditableRequest<TRequestDto, TCommandResponse>
Represents a request that requires auditing.
- ICommandHandler<TCommand, TResponse>
Represents a MediatR Command. These extend the MediatR.IRequest to allow code by contract constraints downstream.
- ICommand<TCommandResponse>
Represents a MediatR Command.
- IMediatrRegistration
Details the registration information to be used to set up mediatr.
- IMediatrRegistrationModel
Represents a MediatR registration.
- INotificationHandlerRegistrationHandler
Registers a concrete type for handling Mediatr notifications.
- IQueryHandler<TQuery, TResponse>
Represents a MediatR Query. These extend the MediatR.IRequest to allow code by contract constraints downstream.
- IQuery<TQueryResponse>
Represents a MediatR Query. These extend the MediatR.IRequest to allow code by contract constraints downstream.
- IRequestHandlerRegistrationHandler
Registers a concrete type for handling Mediatr requests.
- IRequestPostProcessorRegistrationHandler
Registers a concrete type for handling Mediatr post processors.
- IRequestPreProcessorRegistrationHandler
Registers a concrete type for handling Mediatr pre processors.