Class RequestHandlerRegistrationHandler<TImplementationType, TRequest, TResponse>
Registers a concrete type for handling Mediatr requests.
public sealed class RequestHandlerRegistrationHandler<TImplementationType, TRequest, TResponse> : IRequestHandlerRegistrationHandler, IMediatrRegistrationModel where TImplementationType : class, IRequestHandler<TRequest, TResponse> where TRequest : IRequest<TResponse>
Type Parameters
TImplementationType
The type for the request handler.
TRequest
The type for the request object that goes into the request handler.
TResponse
The type for the response object that comes out of the request handler.
- Inheritance
-
RequestHandlerRegistrationHandler<TImplementationType, TRequest, TResponse>
- Implements
- Inherited Members
Constructors
RequestHandlerRegistrationHandler()
public RequestHandlerRegistrationHandler()
Properties
ImplementationType
Gets the implementation type.
public Type ImplementationType { get; }
Property Value
ServiceType
Gets the registration type.
public Type ServiceType { get; }