Table of Contents

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

TNotification

The 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

notification TNotification

The notification instance.