Class NotificationHandler<TNotification>
- Namespace
- Caesar
- Assembly
- Caesar.Abstractions.dll
Convenience base class for synchronous notification handlers.
public abstract class NotificationHandler<TNotification> : INotificationHandler<TNotification> where TNotification : INotification
Type Parameters
TNotificationThe notification type.
- Inheritance
-
NotificationHandler<TNotification>
- Implements
-
INotificationHandler<TNotification>
- Inherited Members
Constructors
NotificationHandler()
protected NotificationHandler()
Methods
Handle(TNotification)
Handles the notification synchronously.
protected abstract void Handle(TNotification notification)
Parameters
notificationTNotificationThe notification instance.