Class NotificationHandlerRegistrationHandler<TImplementationType, TNotification>
Registers a concrete type for MediatR notifications.
public sealed class NotificationHandlerRegistrationHandler<TImplementationType, TNotification> : INotificationHandlerRegistrationHandler, IMediatrRegistrationModel where TImplementationType : class, INotificationHandler<TNotification> where TNotification : INotification
Type Parameters
TImplementationType
The type for the request handler.
TNotification
The type for the notification.
- Inheritance
-
NotificationHandlerRegistrationHandler<TImplementationType, TNotification>
- Implements
- Inherited Members
Constructors
NotificationHandlerRegistrationHandler()
public NotificationHandlerRegistrationHandler()
Properties
ImplementationType
Gets the implementation type.
public Type ImplementationType { get; }
Property Value
ServiceType
Gets the registration type.
public Type ServiceType { get; }